check-DEJAGNU-parallel:
$(AM_V_at)( \
- $(MAKE) -k \
- `cd $(srcdir)/testsuite && find . -name '*.exp' -printf 'check/%P '`; \
+ set -- `cd $(srcdir)/testsuite && find . -name '*.exp' -printf '%P\n' | sed 's:[.]exp$$::'`; \
+ $(MAKE) -k `printf 'check/%s.exp ' $$@`; \
ret=$$?; \
+ set -- `printf 'testsuite/%s/ ' $$@`; \
$(SHELL) $(srcroot)/contrib/dg-extract-results.sh \
- `find testsuite/ -maxdepth 4 -name testrun.sum | sort` > testrun.sum; \
+ `find $$@ -maxdepth 1 -name testrun.sum 2>/dev/null | sort` > testrun.sum; \
$(SHELL) $(srcroot)/contrib/dg-extract-results.sh -L \
- `find testsuite/ -maxdepth 4 -name testrun.log | sort` > testrun.log; \
+ `find $$@ -maxdepth 1 -name testrun.log 2>/dev/null | sort` > testrun.log; \
echo; \
$(SED) -n '/^.*===.*Summary.*===/,$$p' testrun.sum; \
exit $$ret)
check-DEJAGNU-parallel:
$(AM_V_at)( \
- $(MAKE) -k \
- `cd $(srcdir)/testsuite && find . -name '*.exp' -printf 'check/%P '`; \
+ set -- `cd $(srcdir)/testsuite && find . -name '*.exp' -printf '%P\n' | sed 's:[.]exp$$::'`; \
+ $(MAKE) -k `printf 'check/%s.exp ' $$@`; \
ret=$$?; \
+ set -- `printf 'testsuite/%s/ ' $$@`; \
$(SHELL) $(srcroot)/contrib/dg-extract-results.sh \
- `find testsuite/ -maxdepth 4 -name testrun.sum | sort` > testrun.sum; \
+ `find $$@ -maxdepth 1 -name testrun.sum 2>/dev/null | sort` > testrun.sum; \
$(SHELL) $(srcroot)/contrib/dg-extract-results.sh -L \
- `find testsuite/ -maxdepth 4 -name testrun.log | sort` > testrun.log; \
+ `find $$@ -maxdepth 1 -name testrun.log 2>/dev/null | sort` > testrun.log; \
echo; \
$(SED) -n '/^.*===.*Summary.*===/,$$p' testrun.sum; \
exit $$ret)