Skip to content

Commit 4c930c8

Browse files
author
Håkan Råberg
committed
Should use java from JAVA_HOME
1 parent d597358 commit 4c930c8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/bin/bash -e
22

3+
java="$rlwrap $JAVA_HOME/bin/java $JAVA_OPTS"
34
test_classpath="target/test-classes:`find . -name shen.java-*.jar`"
45

5-
time yes | java $JAVA_OPTS -Xss4m -cp $test_classpath shen.TestProgramsTest 2>&1 | tee test.log
6+
time yes | $java -Xss4m -cp $test_classpath shen.TestProgramsTest 2>&1 | tee test.log
67
grep -q "failed; continue? (y/n)" test.log && exit 1

0 commit comments

Comments
 (0)