summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2021-07-27 11:35:16 +0200
committerSven Gothel <[email protected]>2021-07-27 11:35:16 +0200
commit668b657421575cede1fc25dc4a54f99c8ffce43d (patch)
treed58c6657cf2fad1c2099bb8a25c0e8be184feeec
parent234b4b50c66e8c5b4026855df032a56daff5a6ba (diff)
test_java.sh: Fix jar name used
-rw-r--r--scripts/test_java.sh11
1 files changed, 6 insertions, 5 deletions
diff --git a/scripts/test_java.sh b/scripts/test_java.sh
index 2e71117d..ff515937 100644
--- a/scripts/test_java.sh
+++ b/scripts/test_java.sh
@@ -12,8 +12,8 @@ bname=`basename $0 .sh`
dist_dir=$rootdir/dist-$archabi
-if [ ! -e $dist_dir/lib/java/direct_bt_test.jar ] ; then
- echo "test exe $dist_dir/lib/java/direct_bt_test.jar not existing"
+if [ ! -e $dist_dir/lib/java/direct_bt-test.jar ] ; then
+ echo "test exe $dist_dir/lib/java/direct_bt-test.jar not existing"
exit 1
fi
@@ -40,10 +40,11 @@ runit() {
echo logbasename $logbasename
echo logfile $logfile
- echo $EXE_WRAPPER java -cp /usr/share/java/junit4.jar:$dist_dir/lib/java/direct_bt_test.jar $*
+ echo $EXE_WRAPPER java -cp /usr/share/java/junit4.jar:$dist_dir/lib/java/direct_bt-test.jar $*
- # $EXE_WRAPPER java -Djau.debug=true -cp /usr/share/java/junit4.jar:$dist_dir/lib/java/direct_bt_test.jar $*
- $EXE_WRAPPER java -cp /usr/share/java/junit4.jar:$dist_dir/lib/java/direct_bt_test.jar $*
+ # $EXE_WRAPPER java -Djau.debug=true -cp /usr/share/java/junit4.jar:$dist_dir/lib/java/direct_bt-test.jar $*
+
+ $EXE_WRAPPER java -cp /usr/share/java/junit4.jar:$dist_dir/lib/java/direct_bt-test.jar $*
}
runit $* 2>&1 | tee $logfile