mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-23 16:20:57 +08:00
HDFFV-9739 dup test file for concurrent tests
This commit is contained in:
parent
67687ab9a2
commit
95a11297ee
@ -76,6 +76,18 @@ endforeach ()
|
||||
HDFTEST_COPY_FILE("${PROJECT_SOURCE_DIR}/h5ex_g_iterate.orig" "${PROJECT_BINARY_DIR}/h5ex_g_iterate.hdf" "${HDF5_JAVA_TEST_LIB_TARGET}_files")
|
||||
add_custom_target(${HDF5_JAVA_TEST_LIB_TARGET}_files ALL COMMENT "Copying files needed by ${HDF5_JAVA_TEST_LIB_TARGET} tests" DEPENDS ${${HDF5_JAVA_TEST_LIB_TARGET}_files_list})
|
||||
|
||||
HDFTEST_COPY_FILE("${PROJECT_SOURCE_DIR}/h5ex_g_iterate.orig" "${PROJECT_BINARY_DIR}/h5ex_g_iterateL1.hdf" "${HDF5_JAVA_TEST_LIB_TARGET}_files")
|
||||
add_custom_target(${HDF5_JAVA_TEST_LIB_TARGET}_files ALL COMMENT "Copying files needed by ${HDF5_JAVA_TEST_LIB_TARGET} tests" DEPENDS ${${HDF5_JAVA_TEST_LIB_TARGET}_files_list})
|
||||
|
||||
HDFTEST_COPY_FILE("${PROJECT_SOURCE_DIR}/h5ex_g_iterate.orig" "${PROJECT_BINARY_DIR}/h5ex_g_iterateL2.hdf" "${HDF5_JAVA_TEST_LIB_TARGET}_files")
|
||||
add_custom_target(${HDF5_JAVA_TEST_LIB_TARGET}_files ALL COMMENT "Copying files needed by ${HDF5_JAVA_TEST_LIB_TARGET} tests" DEPENDS ${${HDF5_JAVA_TEST_LIB_TARGET}_files_list})
|
||||
|
||||
HDFTEST_COPY_FILE("${PROJECT_SOURCE_DIR}/h5ex_g_iterate.orig" "${PROJECT_BINARY_DIR}/h5ex_g_iterateO1.hdf" "${HDF5_JAVA_TEST_LIB_TARGET}_files")
|
||||
add_custom_target(${HDF5_JAVA_TEST_LIB_TARGET}_files ALL COMMENT "Copying files needed by ${HDF5_JAVA_TEST_LIB_TARGET} tests" DEPENDS ${${HDF5_JAVA_TEST_LIB_TARGET}_files_list})
|
||||
|
||||
HDFTEST_COPY_FILE("${PROJECT_SOURCE_DIR}/h5ex_g_iterate.orig" "${PROJECT_BINARY_DIR}/h5ex_g_iterateO2.hdf" "${HDF5_JAVA_TEST_LIB_TARGET}_files")
|
||||
add_custom_target(${HDF5_JAVA_TEST_LIB_TARGET}_files ALL COMMENT "Copying files needed by ${HDF5_JAVA_TEST_LIB_TARGET} tests" DEPENDS ${${HDF5_JAVA_TEST_LIB_TARGET}_files_list})
|
||||
|
||||
if (WIN32)
|
||||
set (CMAKE_JAVA_INCLUDE_FLAG_SEP ";")
|
||||
else ()
|
||||
|
@ -34,7 +34,7 @@ import org.junit.rules.TestName;
|
||||
|
||||
public class TestH5Lbasic {
|
||||
@Rule public TestName testname = new TestName();
|
||||
private static final String H5_FILE = "h5ex_g_iterate.hdf";
|
||||
private static final String H5_FILE = "h5ex_g_iterateL1.hdf";
|
||||
long H5fid = -1;
|
||||
|
||||
@Before
|
||||
|
@ -37,7 +37,7 @@ import org.junit.rules.TestName;
|
||||
|
||||
public class TestH5Lcreate {
|
||||
@Rule public TestName testname = new TestName();
|
||||
private static final String H5_EXTFILE = "h5ex_g_iterate.hdf";
|
||||
private static final String H5_EXTFILE = "h5ex_g_iterateL2.hdf";
|
||||
private static final String H5_FILE = "testL.h5";
|
||||
private static final int DIM_X = 4;
|
||||
private static final int DIM_Y = 6;
|
||||
|
@ -34,7 +34,7 @@ import org.junit.rules.TestName;
|
||||
|
||||
public class TestH5Obasic {
|
||||
@Rule public TestName testname = new TestName();
|
||||
private static final String H5_FILE = "h5ex_g_iterate.hdf";
|
||||
private static final String H5_FILE = "h5ex_g_iterateO1.hdf";
|
||||
private static long H5la_ds1 = -1;
|
||||
private static long H5la_l1 = -1;
|
||||
private static long H5la_dt1 = -1;
|
||||
|
@ -37,7 +37,7 @@ import org.junit.rules.TestName;
|
||||
|
||||
public class TestH5Ocreate {
|
||||
@Rule public TestName testname = new TestName();
|
||||
private static final String H5_EXTFILE = "h5ex_g_iterate.hdf";
|
||||
private static final String H5_EXTFILE = "h5ex_g_iterateO2.hdf";
|
||||
private static final String H5_FILE = "testO.h5";
|
||||
private static final int DIM_X = 4;
|
||||
private static final int DIM_Y = 6;
|
||||
|
@ -205,11 +205,15 @@ COPY_DATAFILES_TO_BLDDIR()
|
||||
fi
|
||||
done
|
||||
$CP -f $HDFTEST_HOME/h5ex_g_iterate.orig $BLDDIR/h5ex_g_iterate.hdf
|
||||
$CP -f $HDFTEST_HOME/h5ex_g_iterate.orig $BLDDIR/h5ex_g_iterateL1.hdf
|
||||
$CP -f $HDFTEST_HOME/h5ex_g_iterate.orig $BLDDIR/h5ex_g_iterateL2.hdf
|
||||
$CP -f $HDFTEST_HOME/h5ex_g_iterate.orig $BLDDIR/h5ex_g_iterateO1.hdf
|
||||
$CP -f $HDFTEST_HOME/h5ex_g_iterate.orig $BLDDIR/h5ex_g_iterateO2.hdf
|
||||
}
|
||||
|
||||
CLEAN_DATAFILES_AND_BLDDIR()
|
||||
{
|
||||
$RM $BLDDIR/h5ex_g_iterate.hdf
|
||||
$RM $BLDDIR/h5ex_g_iterate*.hdf
|
||||
$RM $BLDDIR/JUnit-*.out
|
||||
$RM $BLDDIR/JUnit-*.ext
|
||||
$RM $BLDDIR/JUnit-*.err
|
||||
|
Loading…
Reference in New Issue
Block a user