summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2018-04-29 02:38:49 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2018-04-29 02:38:49 (GMT)
commit83e2ea681dd73e65c9b153385279b528cfdfe9df (patch)
tree6ff689463a9b08b2485d7a8877843f18622355eb /tools
parentb3c5284692093953132c6c8227e0980b670bf4ad (diff)
downloadhdf5-83e2ea681dd73e65c9b153385279b528cfdfe9df.zip
hdf5-83e2ea681dd73e65c9b153385279b528cfdfe9df.tar.gz
hdf5-83e2ea681dd73e65c9b153385279b528cfdfe9df.tar.bz2
Fix errors in Makefile.am files that cause "make check" to repeat test, even
when there are no changes to source files. (Also add a ggenerated script to the list of files cleaned up on 'make distclean')
Diffstat (limited to 'tools')
-rw-r--r--tools/test/h5diff/Makefile.am8
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/test/h5diff/Makefile.am b/tools/test/h5diff/Makefile.am
index a2ce9c4..3a88573 100644
--- a/tools/test/h5diff/Makefile.am
+++ b/tools/test/h5diff/Makefile.am
@@ -35,7 +35,11 @@ TEST_SCRIPT=testh5diff.sh
check_PROGRAMS=$(TEST_PROG)
check_SCRIPTS=$(TEST_SCRIPT) $(TEST_SCRIPT_PARA)
# The parallel test script testph5diff.sh actually depends on testh5diff.sh.
-SCRIPT_DEPEND=../../src/h5diff/h5diff$(EXEEXT) $(H5PDIFF) ../../src/h5diff/testh5diff.sh
+if BUILD_PARALLEL_CONDITIONAL
+ SCRIPT_DEPEND=../../src/h5diff/h5diff$(EXEEXT) $(H5PDIFF) $(TEST_SCRIPT)
+else
+ SCRIPT_DEPEND=../../src/h5diff/h5diff$(EXEEXT) $(H5PDIFF)
+endif
if HAVE_SHARED_CONDITIONAL
if USE_PLUGINS_CONDITIONAL
TEST_SCRIPT += h5diff_plugin.sh
@@ -59,7 +63,7 @@ endif
# be copied to the testfiles/ directory if update is required
CHECK_CLEANFILES+=*.h5 expect_sorted actual_sorted
-DISTCLEANFILES=h5diff_plugin.sh
+DISTCLEANFILES=testh5diff.sh h5diff_plugin.sh
include $(top_srcdir)/config/conclude.am