# HG changeset patch # User mas01cr # Date 1190031150 0 # Node ID cb41fb97f7f3c3c587542d737d47586d522bbf26 # Parent 1a4975d743a9a4a21cefedb9018f46494d0c1556 Make run-tests work with more than one test directory diff -r 1a4975d743a9 -r cb41fb97f7f3 tests/run-tests.sh --- a/tests/run-tests.sh Mon Sep 17 12:12:10 2007 +0000 +++ b/tests/run-tests.sh Mon Sep 17 12:12:30 2007 +0000 @@ -13,7 +13,8 @@ for file in [0-9][0-9][0-9][0-9]*; do if [ -d ${file} ]; then if [ -f ${file}/run-test.sh ]; then - cd ${file} && sh ./run-test.sh > test.out 2> test.err + echo Running test ${file} + (cd ${file} && sh ./run-test.sh > test.out 2> test.err) EXIT_STATUS=$? if [ ${EXIT_STATUS} -ne 104 ]; then echo Test ${file} failed: exit status ${EXIT_STATUS}