aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2022-12-31 06:09:57 +0100
committerSven Gothel <[email protected]>2022-12-31 06:09:57 +0100
commit60119b7510fac30ccad9fdaeaea47017def31dc7 (patch)
tree7a308a43a49a7b65142a0329d23962a05538fb62 /scripts
parent46f5d03228fc8160ac5128b855a7ed25b230bf3a (diff)
test_java.sh: Call test class main function, allowing us to chose a single test, don't wrap args
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/test_java.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/test_java.sh b/scripts/test_java.sh
index 3a94065..b8a9d0d 100755
--- a/scripts/test_java.sh
+++ b/scripts/test_java.sh
@@ -111,10 +111,14 @@ do_test() {
ulimit -c unlimited
# export ASAN_OPTIONS="debug=true:strict_string_checks=true:detect_odr_violation=2:halt_on_error=false:verbosity=2"
# LD_PRELOAD=/usr/lib/gcc/x86_64-linux-gnu/10/libasan.so \
- $EXE_WRAPPER ${JAVA_CMD} ${JAVA_PROPS} -cp ${test_classpath} -Djava.library.path=${dist_dir}/lib org.junit.runner.JUnitCore ${test_class} ${*@Q}
+
+ # $EXE_WRAPPER ${JAVA_CMD} ${JAVA_PROPS} -cp ${test_classpath} -Djava.library.path=${dist_dir}/lib org.junit.runner.JUnitCore ${test_class} ${*@Q}
+
+ $EXE_WRAPPER ${JAVA_CMD} ${JAVA_PROPS} -cp ${test_classpath} -Djava.library.path=${dist_dir}/lib ${test_class} $*
+
# $EXE_WRAPPER ${JAVA_CMD} ${JAVA_PROPS} -cp ${test_classpath} org.junit.runner.JUnitCore ${test_class} ${*@Q}
exit $?
}
-do_test "$@" 2>&1 | tee $logfile
+do_test $* 2>&1 | tee $logfile