equal
deleted
inserted
replaced
|
1 --- make-3.82/Makefile.in.orig Tue Apr 14 12:59:38 2015 |
|
2 +++ make-3.82/Makefile.in Tue Apr 14 13:00:41 2015 |
|
3 @@ -1116,6 +1116,26 @@ |
|
4 echo "Can't find the GNU Make test suite ($(srcdir)/tests)."; \ |
|
5 fi |
|
6 |
|
7 +system-test: |
|
8 + @if test -f "$(srcdir)/tests/run_make_tests"; then \ |
|
9 + if $(PERL) -v >/dev/null 2>&1; then \ |
|
10 + case `cd $(srcdir); pwd` in `pwd`) : ;; \ |
|
11 + *) test -d tests || mkdir tests; \ |
|
12 + rm -f srctests; \ |
|
13 + if ln -s "$(srcdir)/tests" srctests; then \ |
|
14 + for f in run_make_tests run_make_tests.pl test_driver.pl scripts; do \ |
|
15 + rm -f tests/$$f; ln -s ../srctests/$$f tests; \ |
|
16 + done; fi ;; \ |
|
17 + esac; \ |
|
18 + echo "cd tests && $(PERL) ./run_make_tests.pl -make /usr/bin/gmake $(MAKETESTFLAGS)"; \ |
|
19 + cd tests && $(PERL) ./run_make_tests.pl -make /usr/bin/gmake $(MAKETESTFLAGS); \ |
|
20 + else \ |
|
21 + echo "Can't find a working Perl ($(PERL)); the test suite requires Perl."; \ |
|
22 + fi; \ |
|
23 + else \ |
|
24 + echo "Can't find the GNU Make test suite ($(srcdir)/tests)."; \ |
|
25 + fi |
|
26 + |
|
27 # --------------- Maintainer's Section |
|
28 |
|
29 # Tell automake that I haven't forgotten about this file and it will be |