mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-04-18 17:40:55 +08:00
Correct flaws in test scripts and files
This commit is contained in:
parent
a2604b1e15
commit
2fa314d8b3
@ -1,12 +1,12 @@
|
||||
|
||||
dataset: </Dataset3> and </Dataset3>
|
||||
attribute: <Attr1> and <Attr1>
|
||||
attribute: <Attr1 of <(null)>> and <Attr1 of <(null)>>
|
||||
0 differences found
|
||||
Warning: Cannot open referenced attribute: attribute 1
|
||||
Warning: Cannot open referenced attribute: attribute 2
|
||||
attribute: <Attr2> and <Attr2>
|
||||
attribute: <Attr2 of <(null)>> and <Attr2 of <(null)>>
|
||||
0 differences found
|
||||
attribute: <Attr3> and <Attr3>
|
||||
attribute: <Attr3 of <(null)>> and <Attr3 of <(null)>>
|
||||
0 differences found
|
||||
0 differences found
|
||||
obj1 obj2
|
||||
|
@ -707,7 +707,7 @@ TOOLTEST h5diff_57.txt -v h5diff_dtypes.h5 h5diff_dtypes.h5 dset7a dset7b
|
||||
|
||||
# 5.8 (region reference)
|
||||
TOOLTEST h5diff_58.txt -v2 h5diff_dset1.h5 h5diff_dset2.h5 refreg
|
||||
TOOLTEST h5diff_58_ref.txt -v2 h5diff_dset1.h5 h5diff_dset2.h5 refreg
|
||||
TOOLTEST h5diff_58_ref.txt -v2 h5diff_dset1.h5 h5diff_dset2.h5 /g1/reference2D
|
||||
# STD_REF_OBJ
|
||||
TOOLTEST h5diff_reg.txt -v2 trefer_attr.h5 trefer_ext2.h5 Dataset3 Dataset3
|
||||
|
||||
|
@ -23,18 +23,19 @@ set_target_properties (h5perf_serial PROPERTIES FOLDER perform)
|
||||
if (HDF5_BUILD_PERFORM_STANDALONE)
|
||||
#-- Adding test for h5perf_serial_alone
|
||||
set (h5perf_serial_alone_SOURCES
|
||||
${HDF5_TOOLS_DIR}/lib/io_timer.c
|
||||
${HDF5_TOOLS_TEST_PERFORM_SOURCE_DIR}/sio_perf.c
|
||||
${HDF5_TOOLS_TEST_PERFORM_SOURCE_DIR}/sio_engine.c
|
||||
${HDF5_TOOLS_TEST_PERFORM_SOURCE_DIR}/sio_standalone.c
|
||||
)
|
||||
add_executable (h5perf_serial_alone ${h5perf_serial_alone_SOURCES})
|
||||
target_include_directories (h5perf_serial_alone PRIVATE "${HDF5_SRC_DIR};${HDF5_BINARY_DIR};$<$<BOOL:${HDF5_ENABLE_PARALLEL}>:${MPI_C_INCLUDE_DIRS}>")
|
||||
target_include_directories (h5perf_serial_alone PRIVATE "${HDF5_SRC_DIR};${HDF5_BINARY_DIR};${HDF5_TOOLS_DIR}/lib;$<$<BOOL:${HDF5_ENABLE_PARALLEL}>:${MPI_C_INCLUDE_DIRS}>")
|
||||
if (NOT BUILD_SHARED_LIBS)
|
||||
TARGET_C_PROPERTIES (h5perf_serial_alone STATIC)
|
||||
target_link_libraries (h5perf_serial_alone PRIVATE ${HDF5_TOOLS_LIB_TARGET} ${HDF5_TEST_LIB_TARGET} ${HDF5_LIB_TARGET})
|
||||
target_link_libraries (h5perf_serial_alone PRIVATE ${HDF5_LIB_TARGET})
|
||||
else ()
|
||||
TARGET_C_PROPERTIES (h5perf_serial_alone SHARED)
|
||||
target_link_libraries (h5perf_serial_alone PRIVATE ${HDF5_TOOLS_LIBSH_TARGET} ${HDF5_TEST_LIBSH_TARGET} ${HDF5_LIBSH_TARGET})
|
||||
target_link_libraries (h5perf_serial_alone PRIVATE ${HDF5_LIBSH_TARGET})
|
||||
endif ()
|
||||
set_target_properties (h5perf_serial_alone PROPERTIES FOLDER perform)
|
||||
set_property (TARGET h5perf_serial_alone
|
||||
@ -169,18 +170,19 @@ if (H5_HAVE_PARALLEL AND BUILD_TESTING)
|
||||
if (HDF5_BUILD_PERFORM_STANDALONE)
|
||||
#-- Adding test for h5perf
|
||||
set (h5perf_alone_SOURCES
|
||||
${HDF5_TOOLS_DIR}/lib/io_timer.c
|
||||
${HDF5_TOOLS_TEST_PERFORM_SOURCE_DIR}/pio_perf.c
|
||||
${HDF5_TOOLS_TEST_PERFORM_SOURCE_DIR}/pio_engine.c
|
||||
${HDF5_TOOLS_TEST_PERFORM_SOURCE_DIR}/pio_standalone.c
|
||||
)
|
||||
add_executable (h5perf_alone ${h5perf_alone_SOURCES})
|
||||
target_include_directories (h5perf_alone PRIVATE "${HDF5_SRC_DIR};${HDF5_BINARY_DIR};$<$<BOOL:${HDF5_ENABLE_PARALLEL}>:${MPI_C_INCLUDE_DIRS}>")
|
||||
target_include_directories (h5perf_alone PRIVATE "${HDF5_SRC_DIR};${HDF5_BINARY_DIR};${HDF5_TOOLS_DIR}/lib;$<$<BOOL:${HDF5_ENABLE_PARALLEL}>:${MPI_C_INCLUDE_DIRS}>")
|
||||
if (NOT BUILD_SHARED_LIBS)
|
||||
TARGET_C_PROPERTIES (h5perf_alone STATIC)
|
||||
target_link_libraries (h5perf_alone PRIVATE ${HDF5_TOOLS_LIB_TARGET} ${HDF5_TEST_LIB_TARGET} ${HDF5_LIB_TARGET})
|
||||
target_link_libraries (h5perf_alone PRIVATE ${HDF5_LIB_TARGET})
|
||||
else ()
|
||||
TARGET_C_PROPERTIES (h5perf_alone SHARED)
|
||||
target_link_libraries (h5perf_alone PRIVATE ${HDF5_TOOLS_LIBSH_TARGET} ${HDF5_TEST_LIBSH_TARGET} ${HDF5_LIBSH_TARGET})
|
||||
target_link_libraries (h5perf_alone PRIVATE ${HDF5_LIBSH_TARGET})
|
||||
endif ()
|
||||
set_target_properties (h5perf_alone PROPERTIES FOLDER perform)
|
||||
set_property (TARGET h5perf_alone
|
||||
|
Loading…
x
Reference in New Issue
Block a user