summaryrefslogtreecommitdiffstats
path: root/test/ShellTests.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'test/ShellTests.cmake')
-rw-r--r--test/ShellTests.cmake3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/ShellTests.cmake b/test/ShellTests.cmake
index 4676184..4d23de3 100644
--- a/test/ShellTests.cmake
+++ b/test/ShellTests.cmake
@@ -23,8 +23,7 @@ if (UNIX)
##############################################################################
# configure scripts to test dir
##############################################################################
- find_package (Perl)
- if (PERL_FOUND)
+ if (H5_PERL_FOUND)
configure_file(${HDF5_TEST_SOURCE_DIR}/testflushrefresh.sh.in ${HDF5_TEST_BINARY_DIR}/H5TEST/testflushrefresh.sh @ONLY)
endif ()
configure_file(${HDF5_TEST_SOURCE_DIR}/test_usecases.sh.in ${HDF5_TEST_BINARY_DIR}/H5TEST/test_usecases.sh @ONLY)