mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-09-04 23:06:53 +00:00
Display error message indicating why execution of tests stopped
This commit is contained in:
@@ -8,21 +8,25 @@ find . -type d -mindepth 2 -path "*/dockerfiles/*" | sort --reverse | while read
|
||||
|
||||
bash "1_build.sh"
|
||||
if [[ $? -ne 0 ]]; then
|
||||
echo "Error: Build failed for ${directory}"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
bash "2_start.sh"
|
||||
if [[ $? -ne 0 ]]; then
|
||||
echo "Error: Start failed for ${directory}"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
bash "3_test.sh"
|
||||
if [[ $? -ne 0 ]]; then
|
||||
echo "Error: Test failed for ${directory}"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
bash "4_stop.sh"
|
||||
if [[ $? -ne 0 ]]; then
|
||||
echo "Error: Stop failed for ${directory}"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user