run-tests cd into each test directory before running it
This commit is contained in:
@@ -3,7 +3,9 @@
|
||||
export DEVICE=${DEVICE-qemu}
|
||||
export TMPDIR=${TMPDIR-/tmp}
|
||||
|
||||
NIX_PATH=liminix=`pwd`:$NIX_PATH
|
||||
|
||||
for i in tests/*/run.sh; do
|
||||
echo $i
|
||||
$i $* || exit 1
|
||||
(cd `dirname $i`; ./`basename $i` $* ) || exit 1
|
||||
done
|
||||
|
Reference in New Issue
Block a user