Skip to content

Commit f8a659c

Browse files
committed
Disable a spio scr test that requires hdf5 in configurations w/o hdf5
1 parent 8239c4a commit f8a659c

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/axom/sidre/examples/spio/CMakeLists.txt

+7-3
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,13 @@ foreach(src ${spio_example_sources})
3030
)
3131
endforeach()
3232

33-
if(SCR_FOUND AND AXOM_ENABLE_TESTS)
34-
# Note: This example is a combination of a test and an example due
35-
# inability to run two SCR executables at the same time
33+
if(SCR_FOUND AND AXOM_ENABLE_TESTS AND HDF5_FOUND)
34+
# Note: This example is a combination of a test and an example
35+
# since we're unable to run two SCR executables at the same time
36+
#
37+
# The test was written against the sidre_hdf5 protocol, so disable it
38+
# in configurations that do not include hdf5
39+
3640
axom_add_executable(
3741
NAME spio_IO_SCR_Checkpoint_ex
3842
SOURCES IO_SCR_Checkpoint.cpp

0 commit comments

Comments
 (0)