diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2021-11-03 12:28:30 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-03 12:28:30 (GMT) |
commit | 81b9d71a24e05e22f503cafcaddcaa35c57701bf (patch) | |
tree | e23cfbd3f9e7501293de0fd404d421047dbe9c11 /config/cmake/jrunTest.cmake | |
parent | 60ed6c0df43205de7b3cad9e3b8a115c108abdeb (diff) | |
download | hdf5-81b9d71a24e05e22f503cafcaddcaa35c57701bf.zip hdf5-81b9d71a24e05e22f503cafcaddcaa35c57701bf.tar.gz hdf5-81b9d71a24e05e22f503cafcaddcaa35c57701bf.tar.bz2 |
Fix Java VOL tests (#1158)
Diffstat (limited to 'config/cmake/jrunTest.cmake')
-rw-r--r-- | config/cmake/jrunTest.cmake | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/config/cmake/jrunTest.cmake b/config/cmake/jrunTest.cmake index 2ca1b75..13e50dd 100644 --- a/config/cmake/jrunTest.cmake +++ b/config/cmake/jrunTest.cmake @@ -47,7 +47,12 @@ else () set (LOG_LEVEL "${TEST_LOG_LEVEL}") endif () -message (STATUS "COMMAND: ${TEST_TESTER} -Xmx1024M -Dorg.slf4j.simpleLogger.defaultLog=${LOG_LEVEL} -Djava.library.path=\"${TEST_LIBRARY_DIRECTORY}\" -cp \"${TEST_CLASSPATH}\" ${TEST_ARGS} ${TEST_PROGRAM} ${ARGN}") +if (NOT TEST_VOL) + message (STATUS "COMMAND: ${TEST_TESTER} -Xmx1024M -Dorg.slf4j.simpleLogger.defaultLog=${LOG_LEVEL} -Djava.library.path=\"${TEST_LIBRARY_DIRECTORY}\" -cp \"${TEST_CLASSPATH}\" ${TEST_ARGS} ${TEST_PROGRAM} ${ARGN}") +else () + message (STATUS "USING ${TEST_VOL} ON COMMAND: ${TEST_TESTER} -Xmx1024M -Dorg.slf4j.simpleLogger.defaultLog=${LOG_LEVEL} -Djava.library.path=\"${TEST_LIBRARY_DIRECTORY}\" -cp \"${TEST_CLASSPATH}\" ${TEST_ARGS} ${TEST_PROGRAM} ${ARGN}") + set (ENV{HDF5_VOL_CONNECTOR} "${TEST_VOL}") +endif () if (WIN32) set (ENV{PATH} "$ENV{PATH}\\;${TEST_LIBRARY_DIRECTORY}") |