mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
5f8d6d5bb5
Copy the file image test file from the source directory to the build directory, instead of trying to open the [in-memory] file R/W. Also, clean up a few other test files that were left lying around from other tests. Tested on: MacOSX/64 10.7.4 (amazon) w/debug Too minor to require h5committest
52 lines
2.1 KiB
Makefile
52 lines
2.1 KiB
Makefile
#
|
|
# Copyright by The HDF Group.
|
|
# Copyright by the Board of Trustees of the University of Illinois.
|
|
# All rights reserved.
|
|
#
|
|
# This file is part of HDF5. The full HDF5 copyright notice, including
|
|
# terms governing use, modification, and redistribution, is contained in
|
|
# the files COPYING and Copyright.html. COPYING can be found at the root
|
|
# of the source code distribution tree; Copyright.html can be found at the
|
|
# root level of an installed copy of the electronic HDF5 document set and
|
|
# is linked from the top-level documents page. It can also be found at
|
|
# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
|
|
# access to either file, you may request a copy from help@hdfgroup.org.
|
|
#
|
|
#
|
|
## Makefile.am
|
|
## Run automake to generate a Makefile.in from this file.
|
|
#
|
|
# HDF5 High-Level Test Makefile(.in)
|
|
#
|
|
|
|
include $(top_srcdir)/config/commence.am
|
|
|
|
# Add include directories to C preprocessor flags
|
|
AM_CPPFLAGS+=-I. -I$(srcdir) -I$(top_builddir)/src -I$(top_srcdir)/src -I$(top_builddir)/test -I$(top_srcdir)/test -I$(top_srcdir)/hl/src
|
|
|
|
# The tests depend on the hdf5, hdf5 test, and hdf5_hl libraries
|
|
LDADD=$(LIBH5_HL) $(LIBH5TEST) $(LIBHDF5)
|
|
|
|
# Test programs. These are our main targets. They should be listed in the
|
|
# order to be executed, generally most specific tests to least specific tests.
|
|
TEST_PROG=test_lite test_image test_file_image test_table test_ds test_packet
|
|
check_PROGRAMS=$(TEST_PROG)
|
|
|
|
# These programs generate test files for the tests. They don't need to be
|
|
# compiled every time we want to test the library. However, putting
|
|
# them in a conditional causes automake to generate rules so that they
|
|
# can be built by hand. They can also be built by specifying
|
|
# --enable-build-all at configure time.
|
|
BUILD_ALL_PROGS=gen_test_ds
|
|
|
|
if BUILD_ALL_CONDITIONAL
|
|
noinst_PROGRAMS=$(BUILD_ALL_PROGS)
|
|
endif
|
|
|
|
# Temporary files. These files are the ones created by running `make test'.
|
|
CHECK_CLEANFILES+=combine_tables[1-2].h5 test_ds[1-9].h5 test_ds10.h5 \
|
|
test_image[1-3].h5 file_img[1-2].h5 test_lite[1-4].h5 test_table.h5 \
|
|
test_packet_table.h5 test_packet_compress.h5 test_detach.h5
|
|
|
|
include $(top_srcdir)/config/conclude.am
|