Skip to content

Commit

Permalink
Fix the test name executable for normal dist test (hpc-io#123)
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
jprorama and jeanbez authored Jun 25, 2024
1 parent 617c36e commit 977e879
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ endif()

set(h5bench_write_normal_dist_src h5bench_patterns/h5bench_write_normal_dist.c)

add_executable(h5bench_write_normal_dist ${h5bench_write_normal_dist_src})
target_link_libraries(h5bench_write_normal_dist h5bench_util hdf5 z m ${CMAKE_DL_LIBS} MPI::MPI_C)
add_executable(h5bench_write_var_normal_dist ${h5bench_write_normal_dist_src})
target_link_libraries(h5bench_write_var_normal_dist h5bench_util hdf5 z m ${CMAKE_DL_LIBS} MPI::MPI_C)

# h5bench WRITE ###############################################################
#
Expand Down Expand Up @@ -355,7 +355,7 @@ install(
TARGETS
h5bench_write
h5bench_write_unlimited
h5bench_write_normal_dist
h5bench_write_var_normal_dist
h5bench_overwrite
h5bench_append
h5bench_read
Expand Down

0 comments on commit 977e879

Please sign in to comment.