F #2347: Include build options for JAVA tests

This commit is contained in:
Ruben S. Montero committed 2017-03-08 18:18:06 +01:00
1 parent 6c9f626bae
commit 59c23fe50f
3 files changed
+27 -7

No files matched your search

+3
View File
@@ -80,6 +80,9 @@ let RC=RC+$?
./test.sh VirtualRouterTest 2>&1 | tee -a $LOG_FILE
let RC=RC+$?
./test.sh VMGroupTest 2>&1 | tee -a $LOG_FILE
let RC=RC+$?
echo ""
echo "Output saved in $LOG_FILE"
+1 -2
View File
@@ -19,7 +19,6 @@
# Usage: test.sh <Test_name>
# For instance: test.sh ImageTest
JUNIT_JAR="/usr/share/java/junit4.jar"
if [ -z $ONE_LOCATION ]; then
DB_LOCATION="/var/lib/one/one.db"
@@ -55,7 +54,7 @@ done
echo 'SAFE_DIRS = "/"' > /tmp/one-javatest-ds.txt
onedatastore update --append 1 /tmp/one-javatest-ds.txt
java -cp ../lib/*:../jar/*:$JUNIT_JAR:. org.junit.runner.JUnitCore $1
java -cp ../lib/*:../jar/*:. org.junit.runner.JUnitCore $1
CODE=$?