diff options
Diffstat (limited to 'tests/custom/run_tests.sh')
-rwxr-xr-x | tests/custom/run_tests.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/custom/run_tests.sh b/tests/custom/run_tests.sh index b20404a..61b116f 100755 --- a/tests/custom/run_tests.sh +++ b/tests/custom/run_tests.sh @@ -5,6 +5,7 @@ topdir=$(readlink -f "$testdir/../..") line='........................................' ucode_bin=${UCODE_BIN:-"$topdir/ucode"} +ucode_lib=${UCODE_LIB:-"$topdir"} extract_sections() { local file=$1 @@ -53,7 +54,7 @@ run_testcase() { ( cd "$topdir" - $ucode_bin -e '{ "REQUIRE_SEARCH_PATH": [ "'"$topdir"'/*.so" ] }' -i - <"$in" >"$dir/res.out" 2>"$dir/res.err" + $ucode_bin -e '{ "REQUIRE_SEARCH_PATH": [ "'"$ucode_lib"'/*.so" ] }' -i - <"$in" >"$dir/res.out" 2>"$dir/res.err" ) touch "$dir/empty" |