diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2017-09-19 15:43:54 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2017-09-19 15:43:54 (GMT) |
commit | 4de09ba34dcd778aa44be6fc92f917558bc0d2e1 (patch) | |
tree | 09e3bb02077a0b0b856d6f309649c108f1144792 /java/test/junit.sh.in | |
parent | 67d4a8ba0cae4de10b00661f15f796871981c18b (diff) | |
download | hdf5-4de09ba34dcd778aa44be6fc92f917558bc0d2e1.zip hdf5-4de09ba34dcd778aa44be6fc92f917558bc0d2e1.tar.gz hdf5-4de09ba34dcd778aa44be6fc92f917558bc0d2e1.tar.bz2 |
Add chklog and chexe generation to Java autootools tests
Diffstat (limited to 'java/test/junit.sh.in')
-rw-r--r-- | java/test/junit.sh.in | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/java/test/junit.sh.in b/java/test/junit.sh.in index 32b0832..77379d0 100644 --- a/java/test/junit.sh.in +++ b/java/test/junit.sh.in @@ -190,7 +190,7 @@ CLEAN_DATAFILES_AND_BLDDIR() if [ "$INODE_SDIR" != "$INODE_DDIR" ]; then $RM $BLDDIR/JUnit-interface.ert $RM $BLDDIR/JUnit-interface.txt - fi + fi } # Print a line-line message left justified in a field of 70 characters @@ -258,7 +258,11 @@ esac export LD_LIBRARY_PATH echo "$JAVAEXE $JAVAEXEFLAGS -Xmx1024M -Dorg.slf4j.simpleLogger.defaultLog=trace -Djava.library.path=$BLDLIBDIR -cp $CLASSPATH -ea org.junit.runner.JUnitCore test.TestAll" -($JAVAEXE $JAVAEXEFLAGS -Xmx1024M -Dorg.slf4j.simpleLogger.defaultLog=trace -Djava.library.path=$BLDLIBDIR -cp $CLASSPATH -ea org.junit.runner.JUnitCore test.TestAll 1>$actual_ext 2>$actual_err) + # Run test. + TESTING JUnit + ( + $RUNSERIAL $JAVAEXE $JAVAEXEFLAGS -Xmx1024M -Dorg.slf4j.simpleLogger.defaultLog=trace -Djava.library.path=$BLDLIBDIR -cp $CLASSPATH -ea org.junit.runner.JUnitCore test.TestAll + ) >$actual_ext 2>$actual_err # Extract file name, line number, version and thread IDs because they may be different sed -e 's/thread [0-9]*/thread (IDs)/' -e 's/: .*\.c /: (file name) /' \ |