Commit ff091bc7 authored by Philip Carns's avatar Philip Carns

make check test to dump a darshan log

- only activated if Darshan enabled at configure time
- currently fails with assertion
parent 45f18ddf
...@@ -42,6 +42,7 @@ AM_CPPFLAGS += ${DARSHAN_CFLAGS} -DUSE_DARSHAN=1 ...@@ -42,6 +42,7 @@ AM_CPPFLAGS += ${DARSHAN_CFLAGS} -DUSE_DARSHAN=1
src_libcodes_base_a_SOURCES += src/workload/methods/codes-darshan-io-wrkld.c src_libcodes_base_a_SOURCES += src/workload/methods/codes-darshan-io-wrkld.c
tests_workload_codes_workload_test_LDADD += ${DARSHAN_LIBS} tests_workload_codes_workload_test_LDADD += ${DARSHAN_LIBS}
tests_workload_codes_workload_mpi_replay_LDADD += ${DARSHAN_LIBS} tests_workload_codes_workload_mpi_replay_LDADD += ${DARSHAN_LIBS}
TESTS += tests/workload/darshan-dump.sh
endif endif
if USE_RECORDER if USE_RECORDER
......
#!/bin/bash
if [ -z $srcdir ]; then
echo srcdir variable not set.
exit 1
fi
src/workload/codes-workload-dump --type darshan_io_workload --d-log $srcdir/tests/workload/example.darshan.gz --d-aggregator-cnt 1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment