2017-04-18 03:32:16 +08:00
|
|
|
#
|
|
|
|
# Copyright by The HDF Group.
|
|
|
|
# All rights reserved.
|
|
|
|
#
|
|
|
|
# This file is part of HDF5. The full HDF5 copyright notice, including
|
|
|
|
# terms governing use, modification, and redistribution, is contained in
|
|
|
|
# the COPYING file, which can be found at the root of the source code
|
|
|
|
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
|
|
|
|
# If you do not have access to either file, you may request a copy from
|
|
|
|
# help@hdfgroup.org.
|
|
|
|
#
|
2013-08-20 05:49:44 +08:00
|
|
|
|
|
|
|
##############################################################################
|
|
|
|
##############################################################################
|
|
|
|
### T E S T I N G ###
|
|
|
|
##############################################################################
|
|
|
|
##############################################################################
|
|
|
|
|
2017-11-02 02:41:44 +08:00
|
|
|
add_test (NAME TEST_PAR_testphdf5 COMMAND ${MPIEXEC_EXECUTABLE} ${MPIEXEC_NUMPROC_FLAG} ${MPIEXEC_MAX_NUMPROCS} ${MPIEXEC_PREFLAGS} $<TARGET_FILE:testphdf5> ${MPIEXEC_POSTFLAGS})
|
2013-08-20 05:49:44 +08:00
|
|
|
|
2014-03-12 05:14:57 +08:00
|
|
|
foreach (testp ${H5P_TESTS})
|
2017-11-02 02:41:44 +08:00
|
|
|
add_test (NAME TEST_PAR_${testp} COMMAND ${MPIEXEC_EXECUTABLE} ${MPIEXEC_NUMPROC_FLAG} ${MPIEXEC_MAX_NUMPROCS} ${MPIEXEC_PREFLAGS} $<TARGET_FILE:${testp}> ${MPIEXEC_POSTFLAGS})
|
2017-01-11 07:09:53 +08:00
|
|
|
endforeach ()
|
2013-08-20 05:49:44 +08:00
|
|
|
|
2014-04-29 23:26:35 +08:00
|
|
|
# The following will only be correct on windows shared
|
|
|
|
#set_tests_properties (TEST_PAR_t_pflush1 PROPERTIES WILL_FAIL "true")
|
2014-04-29 04:20:11 +08:00
|
|
|
set_property (TEST TEST_PAR_t_pflush1 PROPERTY PASS_REGULAR_EXPRESSION "PASSED")
|
|
|
|
set_tests_properties (TEST_PAR_t_pflush2 PROPERTIES DEPENDS TEST_PAR_t_pflush1)
|
2013-08-20 05:49:44 +08:00
|
|
|
|
2018-12-21 05:11:17 +08:00
|
|
|
##############################################################################
|
|
|
|
##############################################################################
|
|
|
|
### V F D T E S T S ###
|
|
|
|
##############################################################################
|
|
|
|
##############################################################################
|
|
|
|
|
|
|
|
if (HDF5_TEST_VFD)
|
|
|
|
include (CMakeVFDTests.cmake)
|
|
|
|
endif ()
|