mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-23 13:15:14 +09:00
F #2347: Include build options for JAVA tests
This commit is contained in:
1 parent
6c9f626bae
commit
59c23fe50f
3 files changed
+27
-7
No files matched your search
@@ -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"
|
||||
|
||||
|
||||
@@ -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=$?
|
||||
|
||||
|
||||
Reference in new issue
Block a user