Skip to content

Commit 977e879

Browse files
jproramajeanbez
andauthored
Fix the test name executable for normal dist test (#123)
The h5bench.py and documenation name and reference this test as h5bench_write_var_normal_dist but the compiled target is missing the "var" substring so the test is not callable from a json config file. Fixing the binary name aligns the test with its expected calling convention. Co-authored-by: Jean Luca Bez <[email protected]>
1 parent 617c36e commit 977e879

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ endif()
125125

126126
set(h5bench_write_normal_dist_src h5bench_patterns/h5bench_write_normal_dist.c)
127127

128-
add_executable(h5bench_write_normal_dist ${h5bench_write_normal_dist_src})
129-
target_link_libraries(h5bench_write_normal_dist h5bench_util hdf5 z m ${CMAKE_DL_LIBS} MPI::MPI_C)
128+
add_executable(h5bench_write_var_normal_dist ${h5bench_write_normal_dist_src})
129+
target_link_libraries(h5bench_write_var_normal_dist h5bench_util hdf5 z m ${CMAKE_DL_LIBS} MPI::MPI_C)
130130

131131
# h5bench WRITE ###############################################################
132132
#
@@ -355,7 +355,7 @@ install(
355355
TARGETS
356356
h5bench_write
357357
h5bench_write_unlimited
358-
h5bench_write_normal_dist
358+
h5bench_write_var_normal_dist
359359
h5bench_overwrite
360360
h5bench_append
361361
h5bench_read

0 commit comments

Comments
 (0)