mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-21 01:04:10 +08:00
34d6ef545a
Added new testframe.h header to document testing framework functions and split them away from h5test.h and from test programs that don't integrate with the testframe.c testing framework Added new test setup callback to testframe.c testing framework Added parameters to AddTest() to specify size of test parameters so they can be copied for later use Enabled HDF5 error stacks in testframe.c framework by default and added some error stack suppressions to some testhdf5 tests Added new maxthreads option to testframe.c framework to allow specifying the maximum number of threads a multi-threaded test can use Moved TestExpress functionality out of testframe.c and into more general h5test.c for wider use by tests through getter and setter Updated some tests to not mix and match functionality between h5test.c/h and testframe.c/h Moved some functionality from testphdf5.h into testpar.h for parallel tests that aren't part of testphdf5 Added new parallel test library that contains common shared functionality for parallel tests (similar to h5test library)
105 lines
4.2 KiB
Plaintext
105 lines
4.2 KiB
Plaintext
## config/commence.am
|
|
## (Use double hashes for copyright notice so that automake treats it as
|
|
## comments and does not pass it to Makefile.in)
|
|
## Copyright by The HDF Group.
|
|
## 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 COPYING file, which can be found at the root of the source code
|
|
## distribution tree, or in https://www.hdfgroup.org/licenses.
|
|
## If you do not have access to either file, you may request a copy from
|
|
## help@hdfgroup.org.
|
|
|
|
|
|
## Textually included in the beginning of every HDF5 Makefile.am
|
|
## Contains definitions, etc. used across multiple Makefiles.
|
|
|
|
# Shell commands used in Makefiles
|
|
RM=rm -f
|
|
CP=cp
|
|
|
|
# Some machines need a command to run executables; this is that command
|
|
# so that our tests will run.
|
|
# We use RUNEXEC instead of RUNSERIAL directly because it may be that
|
|
# some tests need to be run with a different command. Older versions
|
|
# of the makefiles used the command
|
|
# $(LIBTOOL) --mode=execute
|
|
# in some directories, for instance.
|
|
RUNEXEC=$(RUNSERIAL)
|
|
|
|
# Libraries to link to while building
|
|
LIBHDF5=$(top_builddir)/src/libhdf5.la
|
|
LIBH5TEST=$(top_builddir)/test/libh5test.la
|
|
LIBH5TESTPAR=$(top_builddir)/testpar/libh5testpar.la
|
|
LIBH5F=$(top_builddir)/fortran/src/libhdf5_fortran.la
|
|
LIBH5FTEST=$(top_builddir)/fortran/test/libh5test_fortran.la
|
|
LIBH5CPP=$(top_builddir)/c++/src/libhdf5_cpp.la
|
|
LIBH5JNI=$(top_builddir)/java/src/jni/libhdf5_java.la
|
|
LIBH5TOOLS=$(top_builddir)/tools/lib/libh5tools.la
|
|
LIBH5_HL=$(top_builddir)/hl/src/libhdf5_hl.la
|
|
LIBH5F_HL=$(top_builddir)/hl/fortran/src/libhdf5_hl_fortran.la
|
|
LIBH5CPP_HL=$(top_builddir)/hl/c++/src/libhdf5_hl_cpp.la
|
|
|
|
# Install directories that automake doesn't know about
|
|
docdir = $(exec_prefix)/doc
|
|
|
|
# Note that in svn revision 19400 the '/' after DESTDIR in H5* variables below
|
|
# has been removed. According to the official description of DESTDIR by GNU at
|
|
# http://www.gnu.org/prep/standards/html_node/DESTDIR.html, DESTDIR is
|
|
# prepended to the normal and complete install path that it precedes for the
|
|
# purpose of installing in a temporary directory which is useful for building
|
|
# rpms and other packages. The '/' after ${DESTDIR} will be followed by another
|
|
# '/' at the beginning of the normal install path. When DESTDIR is empty the
|
|
# path then begins with '//', which is incorrect and causes problems at least for
|
|
# Cygwin.
|
|
|
|
# Scripts used to build examples
|
|
# If only shared libraries have been installed, have h5cc build examples with
|
|
# shared libraries instead of static libraries
|
|
H5CC=${DESTDIR}$(bindir)/h5cc
|
|
H5CC_PP=${DESTDIR}$(bindir)/h5pcc
|
|
H5FC=${DESTDIR}$(bindir)/h5fc
|
|
H5FC_PP=${DESTDIR}$(bindir)/h5pfc
|
|
H5CPP=${DESTDIR}$(bindir)/h5c++
|
|
|
|
|
|
# H5_CFLAGS holds flags that should be used when building hdf5,
|
|
# but which should not be exported to h5cc for building other programs.
|
|
# AM_CFLAGS is an automake construct which should be used by Makefiles
|
|
# instead of CFLAGS, as CFLAGS is reserved solely for the user to define.
|
|
# This applies to FCFLAGS, CXXFLAGS, CPPFLAGS, and LDFLAGS as well.
|
|
|
|
AM_CFLAGS=@AM_CFLAGS@ @H5_CFLAGS@
|
|
AM_FCFLAGS=@AM_FCFLAGS@ @H5_FCFLAGS@
|
|
AM_CXXFLAGS=@AM_CXXFLAGS@ @H5_CXXFLAGS@
|
|
AM_CPPFLAGS=@AM_CPPFLAGS@ @H5_CPPFLAGS@
|
|
AM_LDFLAGS=@AM_LDFLAGS@ @H5_LDFLAGS@
|
|
|
|
ACLOCAL_AMFLAGS="-I m4"
|
|
|
|
# The trace script; this is used on source files from the C library to
|
|
# insert tracing macros.
|
|
TRACE=perl $(top_srcdir)/bin/trace
|
|
|
|
# Make sure that these variables are exported to the Makefiles
|
|
F9XMODEXT=@F9XMODEXT@
|
|
F9XMODFLAG=@F9XMODFLAG@
|
|
|
|
# .chkexe files are used to mark tests that have run successfully.
|
|
# .chklog files are output from those tests.
|
|
CHECK_CLEANFILES=*.chkexe *.chklog
|
|
|
|
# List all build rules defined by HDF5 Makefiles as "PHONY" targets here.
|
|
# This tells the Makefiles that these targets are not files to be built but
|
|
# commands that should be executed even if a file with the same name already
|
|
# exists.
|
|
.PHONY: build-check-clean build-check-p build-check-s build-lib build-progs \
|
|
build-tests check-clean check-install check-p check-s check-vfd \
|
|
check-passthrough-vol install-doc lib progs tests uninstall-doc \
|
|
_exec_check-s _test help trace doxygen
|
|
|
|
help:
|
|
@$(top_srcdir)/bin/makehelp
|
|
|