diff options
Diffstat (limited to 'test/Makefile.in')
-rw-r--r-- | test/Makefile.in | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/test/Makefile.in b/test/Makefile.in index 3bf75a4..f4d9009 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -11,13 +11,14 @@ CPPFLAGS=-I. -I../src @CPPFLAGS@ # These are our main targets. They should be listed in the order to be # executed, generally most specific tests to least specific tests. -PROGS=testhdf5 hyperslab istore dtypes dsets cmpd_dset extend external \ +PROGS=testhdf5 hyperslab istore dtypes dsets cmpd_dset extend external \ iopipe -TESTS=$(PROGS) +TESTS=testhdf5 hyperslab istore dtypes dsets cmpd_dset extend external +TIMINGS=iopipe # Temporary files MOSTLYCLEAN=cmpd_dset.h5 dataset.h5 extend.h5 istore.h5 tfile1.h5 tfile2.h5 \ - tfile3.h5 th5s1.h5 theap.h5 tohdr.h5 tstab1.h5 tstab2.h5 \ + tfile3.h5 th5s1.h5 theap.h5 tohdr.h5 tstab1.h5 tstab2.h5 \ extern_1.h5 extern_2.h5 extern_3.h5 extern_1.raw extern_1b.raw \ extern_2.raw extern_2b.raw extern_3.raw extern_3b.raw \ extern_4.raw extern_4b.raw iopipe.raw iopipe.h5 @@ -64,6 +65,16 @@ IOPIPE_OBJ=$(IOPIPE_SRC:.c=.o) # Private header files (not to be installed)... PRIVATE_HDR=testhdf5.h +# Additional targets +.PHONY: timings _timings +timings _timings: $(TIMINGS) + @for timing in $(TIMINGS) dummy; do \ + if test $$timing != dummy; then \ + echo "Running $$timing $(TEST_FLAGS)"; \ + $(RUNTEST) ./$$timing $(TEST_FLAGS) || exit 1; \ + fi; \ + done; + # How to build the programs... testhdf5: $(TESTHDF5_OBJ) ../src/libhdf5.a $(CC) $(CFLAGS) -o $@ $(TESTHDF5_OBJ) ../src/libhdf5.a $(LIBS) |