Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not test when build fails #645

Merged
merged 2 commits into from
Oct 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion 2.7/test/run
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,10 @@ for app in ${@:-${WEB_APPS[@]}}; do
continue
else
check_type $RESULT
test "$?" != "0" && test_msg="[FAILED]" || test_msg="[PASSED]"
result="$?"
test "$result" != "0" && test_msg="[FAILED]" || test_msg="[PASSED]"
ct_update_test_result "$test_msg" "$app" run_s2i_build
test "$result" != "0" && continue
fi
echo ""
TEST_SET=${TESTS:-$TEST_LIST} ct_run_tests_from_testset "${app}"
Expand Down
4 changes: 3 additions & 1 deletion 3.11/test/run
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,10 @@ for app in ${@:-${WEB_APPS[@]}}; do
continue
else
check_type $RESULT
test "$?" != "0" && test_msg="[FAILED]" || test_msg="[PASSED]"
result="$?"
test "$result" != "0" && test_msg="[FAILED]" || test_msg="[PASSED]"
ct_update_test_result "$test_msg" "$app" run_s2i_build
test "$result" != "0" && continue
fi
echo ""
TEST_SET=${TESTS:-$TEST_LIST} ct_run_tests_from_testset "${app}"
Expand Down
4 changes: 3 additions & 1 deletion 3.6/test/run
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,10 @@ for app in ${@:-${WEB_APPS[@]}}; do
continue
else
check_type $RESULT
test "$?" != "0" && test_msg="[FAILED]" || test_msg="[PASSED]"
result="$?"
test "$result" != "0" && test_msg="[FAILED]" || test_msg="[PASSED]"
ct_update_test_result "$test_msg" "$app" run_s2i_build
test "$result" != "0" && continue
fi
echo ""
TEST_SET=${TESTS:-$TEST_LIST} ct_run_tests_from_testset "${app}"
Expand Down
4 changes: 3 additions & 1 deletion 3.8/test/run
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,10 @@ for app in ${@:-${WEB_APPS[@]}}; do
continue
else
check_type $RESULT
test "$?" != "0" && test_msg="[FAILED]" || test_msg="[PASSED]"
result="$?"
test "$result" != "0" && test_msg="[FAILED]" || test_msg="[PASSED]"
ct_update_test_result "$test_msg" "$app" run_s2i_build
test "$result" != "0" && continue
fi
echo ""
TEST_SET=${TESTS:-$TEST_LIST} ct_run_tests_from_testset "${app}"
Expand Down
4 changes: 3 additions & 1 deletion 3.9-minimal/test/run
Original file line number Diff line number Diff line change
Expand Up @@ -314,8 +314,10 @@ for app in ${@:-${WEB_APPS[@]}}; do
continue
else
check_type $RESULT
test "$?" != "0" && test_msg="[FAILED]" || test_msg="[PASSED]"
result="$?"
test "$result" != "0" && test_msg="[FAILED]" || test_msg="[PASSED]"
ct_update_test_result "$test_msg" "$app" run_s2i_build
test "$result" != "0" && continue
fi
echo ""
TEST_SET=${TESTS:-$TEST_LIST} ct_run_tests_from_testset "${app}"
Expand Down
4 changes: 3 additions & 1 deletion 3.9/test/run
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,10 @@ for app in ${@:-${WEB_APPS[@]}}; do
continue
else
check_type $RESULT
test "$?" != "0" && test_msg="[FAILED]" || test_msg="[PASSED]"
result="$?"
test "$result" != "0" && test_msg="[FAILED]" || test_msg="[PASSED]"
ct_update_test_result "$test_msg" "$app" run_s2i_build
test "$result" != "0" && continue
fi
echo ""
TEST_SET=${TESTS:-$TEST_LIST} ct_run_tests_from_testset "${app}"
Expand Down
4 changes: 3 additions & 1 deletion test/run
Original file line number Diff line number Diff line change
Expand Up @@ -327,8 +327,10 @@ for app in ${@:-${WEB_APPS[@]}}; do
continue
else
check_type $RESULT
test "$?" != "0" && test_msg="[FAILED]" || test_msg="[PASSED]"
result="$?"
test "$result" != "0" && test_msg="[FAILED]" || test_msg="[PASSED]"
ct_update_test_result "$test_msg" "$app" run_s2i_build
test "$result" != "0" && continue
fi
echo ""
TEST_SET=${TESTS:-$TEST_LIST} ct_run_tests_from_testset "${app}"
Expand Down