diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ChangeLog | 3 | ||||
-rw-r--r-- | tests/scripts/features/parallelism | 20 |
2 files changed, 23 insertions, 0 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog index c629a0e..d97e7e2 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,5 +1,8 @@ 2013-09-15 Paul Smith <psmith@gnu.org> + * scripts/features/parallelism: Test broken jobserver on recursion. + Test for Savannah bug #39934. + * scripts/options/eval: Verify --eval during restart. Test for Savannah bug #39203. diff --git a/tests/scripts/features/parallelism b/tests/scripts/features/parallelism index a895517..6e8376d 100644 --- a/tests/scripts/features/parallelism +++ b/tests/scripts/features/parallelism @@ -254,6 +254,26 @@ true '); } +# Test recursion when make doesn't think it exists. +# See Savannah bug #39934 +# Or Red Hat bug https://bugzilla.redhat.com/show_bug.cgi?id=885474 + +open(MAKEFILE,"> Makefile2"); +print MAKEFILE <<EOF; +vpath %.c $ENV{HOME}/ +foo: +EOF +close(MAKEFILE); + +run_make_test(q! +default: ; @ #MAKEPATH# -f Makefile2 +!, + '-j2 --no-print-directory', +"#MAKE#[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. +#MAKE#[1]: Nothing to be done for 'foo'."); + +unlink('Makefile2'); + # Make sure that all jobserver FDs are closed if we need to re-exec the # master copy. # |