launch_and_test.sh exit code fetching fixed
This commit is contained in:
parent
7acc0e81da
commit
c0ccff8a3f
1 changed files with 3 additions and 1 deletions
|
|
@ -16,6 +16,8 @@ sleep 30
|
||||||
echo Run clearing-tester
|
echo Run clearing-tester
|
||||||
sh ./clearing_testing_utils/clearing-tester/clearing-tester.sh
|
sh ./clearing_testing_utils/clearing-tester/clearing-tester.sh
|
||||||
|
|
||||||
|
TESTER_EXIT_CODE=$?
|
||||||
|
|
||||||
if [ -n "$CLR_TEST_NAME" ]
|
if [ -n "$CLR_TEST_NAME" ]
|
||||||
then
|
then
|
||||||
echo "Copying logs to ./bin/log_artifacts/${CLR_TEST_NAME}"
|
echo "Copying logs to ./bin/log_artifacts/${CLR_TEST_NAME}"
|
||||||
|
|
@ -126,7 +128,7 @@ else
|
||||||
echo "CLR_TEST_NAME is not set. Skipping log copy."
|
echo "CLR_TEST_NAME is not set. Skipping log copy."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $? -eq 0 ]
|
if [ "$TESTER_EXIT_CODE" -eq "0" ]
|
||||||
then
|
then
|
||||||
echo "Tests passed successfully"
|
echo "Tests passed successfully"
|
||||||
exit 0
|
exit 0
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue