diff options
author | Thomas White <taw@physics.org> | 2020-10-27 15:53:51 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-10-27 15:53:51 +0100 |
commit | 876a2e8d748c65f8188a92391bb358c26c146078 (patch) | |
tree | b7177fa1b65702164625c150eb92eee287e46117 /tests/CMakeLists.txt | |
parent | 0972792a889f6614c08380f52b08d919b7da31d1 (diff) |
Add a test for stream reading
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r-- | tests/CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 8c730e45..38520004 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -182,3 +182,9 @@ add_test(NAME wavelength_geom11 add_test(NAME wavelength_geom12 COMMAND wavelength_geom ${CMAKE_CURRENT_SOURCE_DIR}/wavelength_geom.h5 ${CMAKE_CURRENT_SOURCE_DIR}/wavelength_geom12.geom 1.125e-10) + +add_executable(stream_read stream_read.c) +target_include_directories(stream_read PRIVATE ${COMMON_INCLUDES}) +target_link_libraries(stream_read ${COMMON_LIBRARIES}) +add_test(NAME stream_read + COMMAND stream_read ${CMAKE_CURRENT_SOURCE_DIR}/test.stream) |