summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/Makefile.in14
-rw-r--r--test/testhdf5.c1
-rw-r--r--test/testhdf5.h2
3 files changed, 10 insertions, 7 deletions
diff --git a/test/Makefile.in b/test/Makefile.in
index ead1c3c..20b699b 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -44,8 +44,8 @@ MOSTLYCLEAN=cmpd_dset.h5 dataset.h5 extend.h5 istore.h5 tfile1.h5 tfile2.h5 \
extern_4a.raw extern_4b.raw iopipe.raw iopipe.h5 gheap0.h5 \
gheap1.h5 gheap2.h5 gheap3.h5 gheap4.h5 links.h5 chunk.h5 \
big.data big[0-9][0-9][0-9][0-9][0-9].h5 dtypes1.h5 dtypes2.h5 \
- tattr.h5 tselect.h5 mtime.h5 ragged.h5 unlink.h5 overhead.h5 \
- fillval_[0-9].h5 fillval.raw mount_[0-9].h5 trefer[12].h5 \
+ tattr.h5 tselect.h5 mtime.h5 ragged.h5 unlink.h5 overhead.h5 \
+ fillval_[0-9].h5 fillval.raw mount_[0-9].h5 trefer[12].h5 tvltypes.h5 \
flush.h5 enum1.h5
CLEAN=$(TIMINGS)
@@ -53,11 +53,11 @@ CLEAN=$(TIMINGS)
# source files and is used for things like dependencies, archiving, etc. The
# other source lists are for the individual tests, the files of which may
# overlap with other tests.
-TEST_SRC=big.c bittests.c chunk.c cmpd_dset.c dsets.c dtypes.c extend.c \
- external.c fillval.c flush1.c flush2.c gheap.c h5test.c hyperslab.c \
- iopipe.c istore.c lheap.c links.c mount.c mtime.c ohdr.c overhead.c \
+TEST_SRC=big.c bittests.c chunk.c cmpd_dset.c dsets.c dtypes.c extend.c \
+ external.c fillval.c flush1.c flush2.c gheap.c h5test.c hyperslab.c \
+ iopipe.c istore.c lheap.c links.c mount.c mtime.c ohdr.c overhead.c \
ragged.c stab.c tattr.c testhdf5.c tfile.c th5s.c tmeta.c trefer.c \
- tselect.c unlink.c enum.c
+ tselect.c tvltypes.c unlink.c enum.c
TEST_OBJ=$(TEST_SRC:.c=.lo)
# Private header files (not to be installed)...
@@ -75,7 +75,7 @@ timings _timings: $(TIMINGS)
# How to build the tests... They all depend on the test and hdf5 libraries.
$(TEST_PROGS): $(LIB) $(LIBHDF5)
-TESTHDF5_OBJ=testhdf5.lo tattr.lo tfile.lo tmeta.lo trefer.lo tselect.lo th5s.lo
+TESTHDF5_OBJ=testhdf5.lo tattr.lo tfile.lo tmeta.lo trefer.lo tselect.lo tvltypes.lo th5s.lo
testhdf5: $(TESTHDF5_OBJ)
@$(LT_LINK_EXE) $(CFLAGS) -o $@ $(TESTHDF5_OBJ) $(LIB) $(LIBHDF5) $(LDFLAGS) $(LIBS)
diff --git a/test/testhdf5.c b/test/testhdf5.c
index 787d9b0..8774a88 100644
--- a/test/testhdf5.c
+++ b/test/testhdf5.c
@@ -168,6 +168,7 @@ main(int argc, char *argv[])
InitTest("attr", test_attr, cleanup_attr, "Attributes");
InitTest("select", test_select, cleanup_select, "Selections");
InitTest("reference", test_reference, cleanup_reference, "References");
+ InitTest("vltypes", test_vltypes, cleanup_vltypes, "Variable-Length Datatypes");
Verbosity = 4; /* Default Verbosity is Low */
H5get_libversion(&major, &minor, &release);
diff --git a/test/testhdf5.h b/test/testhdf5.h
index a9d99f5..574bfeb 100644
--- a/test/testhdf5.h
+++ b/test/testhdf5.h
@@ -125,6 +125,7 @@ void test_h5d(void);
void test_attr(void);
void test_select(void);
void test_reference(void);
+void test_vltypes(void);
/* Prototypes for the cleanup routines */
void cleanup_metadata(void);
@@ -133,5 +134,6 @@ void cleanup_h5s(void);
void cleanup_attr(void);
void cleanup_select(void);
void cleanup_reference(void);
+void cleanup_vltypes(void);
#endif /* HDF5cleanup_H */