Skip to content

Commit 75ee4ec

Browse files
committed
Run tests with most recent version first
1 parent 401d51e commit 75ee4ec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_all.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
22
cd "${SCRIPT_DIR}"
33

4-
for d in "dockerfiles/"* ; do
5-
echo "Running ${d}" &&
6-
pushd "${d}" &&
4+
find . -type d -mindepth 2 -path "*/dockerfiles/*" | sort --reverse | while read directory; do
5+
echo "Running ${directory}" &&
6+
pushd "${directory}" &&
77
bash "1_build.sh" &&
88
bash "2_start.sh" &&
99
bash "3_test.sh" &&

0 commit comments

Comments
 (0)