[beast: 6/16] TESTS: filecheck: use absolute pathnames from distfile-list



commit f31e8acc79bb6035e843a769ee836b04d0c36515
Author: Tim Janik <timj gnu org>
Date:   Thu Sep 10 21:21:46 2015 +0200

    TESTS: filecheck: use absolute pathnames from distfile-list

 tests/filecheck/Makefile.am |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/tests/filecheck/Makefile.am b/tests/filecheck/Makefile.am
index 0c016f3..b5b6b21 100644
--- a/tests/filecheck/Makefile.am
+++ b/tests/filecheck/Makefile.am
@@ -28,13 +28,11 @@ CLEANFILES += distfiles.list
 
 SKIP_PATTERN = "tests/latency/midi-latency.bse"
 checklist-%-test: checklists
-       $(Q) $(if $(findstring 1, $(V)), set -x, :) ;           \
-         for tfile in `cat $(@F:-test=)` ; do                  \
-           file="$(top_srcdir)/$$tfile" ;                      \
+       $(Q) for tfile in `cat $(@F:-test=)` ; do               \
            if echo "$$tfile" | egrep -q $(SKIP_PATTERN) ; then \
              echo "SKIP - Loading: $$tfile" ;                  \
            else                                                \
-             $(CHECK_LOAD) "$$file" 2>&1 | tee $(@F).log ;     \
+             $(CHECK_LOAD) "$$tfile" 2>&1 | tee $(@F).log ;    \
              test ! -s $(@F).log || exit 1                     \
              && echo "OK   - Loading: $$tfile" ;               \
            fi ; done ; rm -f $(@F).log $(@F:-test=)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]