summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2022-02-24 16:59:15 (GMT)
committerGitHub <noreply@github.com>2022-02-24 16:59:15 (GMT)
commit2db4c770f83a35d1ec013114c483c5120b509fdc (patch)
treea8535c6714b741dab9e9fd37560317bb9d01e883 /test
parent758e97c1e5f02869dbae81a7a428d270a016464e (diff)
downloadhdf5-2db4c770f83a35d1ec013114c483c5120b509fdc.zip
hdf5-2db4c770f83a35d1ec013114c483c5120b509fdc.tar.gz
hdf5-2db4c770f83a35d1ec013114c483c5120b509fdc.tar.bz2
Fix release check version logic (#1438)
Diffstat (limited to 'test')
-rw-r--r--test/CMakeTests.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CMakeTests.cmake b/test/CMakeTests.cmake
index b2ed8e8..4e828f8 100644
--- a/test/CMakeTests.cmake
+++ b/test/CMakeTests.cmake
@@ -649,10 +649,11 @@ set_tests_properties (H5TEST-tcheck_version-minor PROPERTIES
WORKING_DIRECTORY ${HDF5_TEST_BINARY_DIR}/H5TEST
WILL_FAIL "true"
)
-# release + 1 should pass
+# release + 1 should pass on non-develop branches
add_test (NAME H5TEST-tcheck_version-release COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} $<TARGET_FILE:tcheck_version> "-tr")
set_tests_properties (H5TEST-tcheck_version-release PROPERTIES
WORKING_DIRECTORY ${HDF5_TEST_BINARY_DIR}/H5TEST
+ WILL_FAIL "true"
)
##############################################################################