aboutsummaryrefslogtreecommitdiffstats
path: root/tests/all.sh
diff options
context:
space:
mode:
authorGavin Howard <yzena.tech@gmail.com>2018-09-06 19:36:18 -0600
committerGavin Howard <yzena.tech@gmail.com>2018-09-06 19:36:18 -0600
commitd43ae7599d8526263d01bffc78c8970b6fffa995 (patch)
treecd0b78090e6173c9e6150c6b1ce8c74b19d6e9f5 /tests/all.sh
parent30837668f7a5ee7ea36c39b7ffe9c03cbf455f69 (diff)
downloadplatform_external_bc-d43ae7599d8526263d01bffc78c8970b6fffa995.tar.gz
platform_external_bc-d43ae7599d8526263d01bffc78c8970b6fffa995.tar.bz2
platform_external_bc-d43ae7599d8526263d01bffc78c8970b6fffa995.zip
Update test files to be able to run valgrind on tests
Diffstat (limited to 'tests/all.sh')
-rwxr-xr-xtests/all.sh8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/all.sh b/tests/all.sh
index 75a2a527..2eb8ed8a 100755
--- a/tests/all.sh
+++ b/tests/all.sh
@@ -12,17 +12,13 @@ else
bc="$1"
fi
-bcdir=$(dirname "${bc}")
-
-out="$bcdir/log_test.txt"
-
while read t; do
- sh "$testdir/test.sh" "$t" "$bc" "$out"
+ sh "$testdir/test.sh" "$t" "$bc" "$@"
done < "$testdir/all.txt"
-sh "$testdir/scripts.sh" "$bc" "$bcdir/log_bc.txt" "$out"
+sh "$testdir/scripts.sh" "$bc" "$@"
# TODO: Read tests
# TODO: Lex errors