Launchable: Exit 0 not to stop CI pipeline (#12449)

This commit is contained in:
Naoto Ono 2025-01-06 19:49:58 +09:00 committed by GitHub
parent 54bd5e036e
commit e0591b666f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
Notes: git 2025-01-06 10:50:21 +00:00
Merged-By: ono-max <onoto1998@gmail.com>

View File

@ -101,7 +101,8 @@ setup_launchable() {
--flavor optflags="${INPUT_OPTFLAGS}" \
--flavor cppflags="${INPUT_CPPFLAGS}" \
--test-suite btest \
> "${builddir}"/${btest_session_file}
> "${builddir}"/${btest_session_file} \
|| true
if [ "$INPUT_CHECK" = "true" ]; then
tests+=--launchable-test-reports="${test_report_path}"
launchable record session \
@ -114,7 +115,8 @@ setup_launchable() {
--flavor optflags="${INPUT_OPTFLAGS}" \
--flavor cppflags="${INPUT_CPPFLAGS}" \
--test-suite test-all \
> "${builddir}"/${test_all_session_file}
> "${builddir}"/${test_all_session_file} \
|| true
mkdir "${builddir}"/"${test_spec_report_path}"
spec_opts+=--launchable-test-reports="${test_spec_report_path}"
launchable record session \
@ -127,7 +129,8 @@ setup_launchable() {
--flavor optflags="${INPUT_OPTFLAGS}" \
--flavor cppflags="${INPUT_CPPFLAGS}" \
--test-suite test-spec \
> "${builddir}"/${test_spec_session_file}
> "${builddir}"/${test_spec_session_file} \
|| true
fi
echo "::endgroup::"
trap launchable_record_test EXIT