mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-03-19 17:30:27 +08:00
Correct an issue with 'make distcheck' where out-of-source tests were failing.
This commit is contained in:
parent
22da6b73c3
commit
533572f987
@ -5,6 +5,7 @@
|
||||
|
||||
# Put together AM_CPPFLAGS and AM_LDFLAGS.
|
||||
include $(top_srcdir)/lib_flags.am
|
||||
LDADD = ${top_builddir}/liblib/libnetcdf.la
|
||||
|
||||
# Un comment to use a more verbose test driver
|
||||
#SH_LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver-verbose
|
||||
@ -15,7 +16,7 @@ include $(top_srcdir)/lib_flags.am
|
||||
# Note which tests depend on other tests. Necessary for make -j check.
|
||||
TEST_EXTENSIONS = .sh
|
||||
|
||||
LDADD = ${top_builddir}/liblib/libnetcdf.la
|
||||
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/liblib
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/libdap4
|
||||
AM_CPPFLAGS += -DTOPSRCDIR=${abs_top_srcdir}
|
||||
|
@ -17,14 +17,14 @@ fi
|
||||
|
||||
# Define input paths
|
||||
WD=`pwd`
|
||||
cd ${srcdir}/daptestfiles; DAPTESTFILES=`pwd` ; cd ${WD}
|
||||
cd ${srcdir}/dmrtestfiles; DMRTESTFILES=`pwd` ; cd ${WD}
|
||||
cd ${srcdir}/cdltestfiles; CDLTESTFILES=`pwd` ; cd ${WD}
|
||||
cd ${srcdir}/baseline; BASELINE=`pwd` ; cd ${WD}
|
||||
cd ${srcdir}/baselineraw; BASELINERAW=`pwd` ; cd ${WD}
|
||||
cd ${srcdir}/baselineremote; BASELINEREM=`pwd` ; cd ${WD}
|
||||
cd ${srcdir}/baselinehyrax; BASELINEH=`pwd` ; cd ${WD}
|
||||
cd ${builddir}/baselinethredds; BASELINETH=`pwd` ; cd ${WD}
|
||||
cd ${top_srcdir}/dap4_test/daptestfiles; DAPTESTFILES=`pwd` ; cd ${WD}
|
||||
cd ${top_srcdir}/dap4_test/dmrtestfiles; DMRTESTFILES=`pwd` ; cd ${WD}
|
||||
cd ${top_srcdir}/dap4_test/cdltestfiles; CDLTESTFILES=`pwd` ; cd ${WD}
|
||||
cd ${top_srcdir}/dap4_test/baseline; BASELINE=`pwd` ; cd ${WD}
|
||||
cd ${top_srcdir}/dap4_test/baselineraw; BASELINERAW=`pwd` ; cd ${WD}
|
||||
cd ${top_srcdir}/dap4_test/baselineremote; BASELINEREM=`pwd` ; cd ${WD}
|
||||
cd ${top_srcdir}/dap4_test/baselinehyrax; BASELINEH=`pwd` ; cd ${WD}
|
||||
cd ${top_srcdir}/dap4_test/baselinethredds; BASELINETH=`pwd` ; cd ${WD}
|
||||
|
||||
setresultdir() {
|
||||
rm -fr ${builddir}/$1
|
||||
|
@ -5,7 +5,7 @@ if test "x$srcdir" = x ; then srcdir=`pwd`; fi
|
||||
|
||||
set -e
|
||||
|
||||
. ${srcdir}/d4test_common.sh
|
||||
. ${top_srcdir}/dap4_test/d4test_common.sh
|
||||
|
||||
echo "test_data.sh:"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user