diff options
author | Jo-Philipp Wich <jo@mein.io> | 2022-03-15 21:25:29 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2022-03-15 23:15:12 +0100 |
commit | 2c71bf25950eef39fdc07794acf7d121b1c9230e (patch) | |
tree | 56688e3e57ea75c98867bbbf60c12ce9e7253ef9 /tests/custom/run_tests.sh | |
parent | 55c4a902bf83d9a4ae12b4e8f19038a081238eb7 (diff) |
tests: run_tests.sh: pass dummy value to `-T` flag
Since OS X `getopt()` does not handle optional arguments, we need to
always pass a value to `-T`.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'tests/custom/run_tests.sh')
-rwxr-xr-x | tests/custom/run_tests.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/custom/run_tests.sh b/tests/custom/run_tests.sh index 8063747..fb92379 100755 --- a/tests/custom/run_tests.sh +++ b/tests/custom/run_tests.sh @@ -99,7 +99,7 @@ run_testcase() { IFS=$' \t\n' - $ucode_bin -T -L "$ucode_lib/*.so" -D TESTFILES_PATH="$dir/files" $args - <"$in" >"$dir/res.out" 2>"$dir/res.err" + $ucode_bin -T"," -L "$ucode_lib/*.so" -D TESTFILES_PATH="$($readlink -f "$dir/files")" $args - <"$in" >"$dir/res.out" 2>"$dir/res.err" ) printf "%d\n" $? > "$dir/res.code" |