diff --git a/tests/test_all.sh b/tests/test_all.sh index 488a6f9..0a74488 100755 --- a/tests/test_all.sh +++ b/tests/test_all.sh @@ -1,9 +1,9 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" cd "${SCRIPT_DIR}" -for d in "dockerfiles/"* ; do - echo "Running ${d}" && - pushd "${d}" && +find . -type d -mindepth 2 -path "*/dockerfiles/*" | sort --reverse | while read directory; do + echo "Running ${directory}" && + pushd "${directory}" && bash "1_build.sh" && bash "2_start.sh" && bash "3_test.sh" &&