mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-01-30 16:10:44 +08:00
Corrected a false positive.
This commit is contained in:
parent
1f96a66414
commit
f1f7224f93
@ -61,7 +61,7 @@ IF(BUILD_BENCHMARKS)
|
||||
ENDIF()
|
||||
|
||||
# Copy some test files from current source dir to out-of-tree build dir.
|
||||
FILE(GLOB COPY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/*.nc ${CMAKE_CURRENT_SOURCE_DIR}/*.sh)
|
||||
FILE(GLOB COPY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/*.nc ${CMAKE_CURRENT_SOURCE_DIR}/*.sh ${CMAKE_CURRENT_SOURCE_DIR}/*.hdf4)
|
||||
FILE(COPY ${COPY_FILES} DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/)
|
||||
IF(MSVC)
|
||||
FILE(COPY ${COPY_FILES} DESTINATION ${RUNTIME_OUTPUT_DIRECTORY}/)
|
||||
|
@ -1,9 +1,13 @@
|
||||
#!/bin/sh
|
||||
# Run test_chunk_hdf4 passing ${srcdir}
|
||||
|
||||
|
||||
|
||||
if test "x$srcdir" = x ; then srcdir=`pwd`; fi
|
||||
. ../test_common.sh
|
||||
|
||||
set -e
|
||||
|
||||
echo ""
|
||||
echo "*** Testing hdf4 chunking..."
|
||||
|
||||
@ -14,7 +18,9 @@ fi
|
||||
if ./tst_chunk_hdf4 ; then
|
||||
echo "***SUCCESS!! tst_chunk_hdf4"
|
||||
else
|
||||
RES=$?
|
||||
echo "***FAIL: tst_chunk_hdf4"
|
||||
exit $RES
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user