diff options
author | Paul Smith <psmith@gnu.org> | 2009-06-14 06:08:11 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2009-06-14 06:08:11 +0000 |
commit | be6b22a2837a7a5b12e4d3c0b845266247cfd3ad (patch) | |
tree | 84b80ce3e626d1b42bba8ec493653ca18f7d10c3 /tests/scripts/features | |
parent | dceb954f9c0a948b8d53796fd78b7cfae9148b1b (diff) | |
download | gunmake-be6b22a2837a7a5b12e4d3c0b845266247cfd3ad.tar.gz |
- Fix Savannah bug #13529
Diffstat (limited to 'tests/scripts/features')
-rw-r--r-- | tests/scripts/features/vpath | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/scripts/features/vpath b/tests/scripts/features/vpath index 101a25d..a3aebd9 100644 --- a/tests/scripts/features/vpath +++ b/tests/scripts/features/vpath @@ -1,3 +1,5 @@ +# -*-perl-*- + $description = "The following test creates a makefile to test the \n" ."vpath directive which allows you to specify a search \n" ."path for a particular class of filenames, those that\n" @@ -59,4 +61,21 @@ if (&compare_output($answer,&get_logfile(1))) unlink @files_to_touch; } +# TEST 2: after vpath lookup ensure we don't get incorrect circular dependency +# warnings due to change of struct file ptr. Savannah bug #13529. + +mkdir('vpath-d', 0777); + +run_make_test(q! +vpath %.te vpath-d/ +.SECONDARY: +default: vpath-d/a vpath-d/b +vpath-d/a: fail.te +vpath-d/b : fail.te +vpath-d/fail.te: +!, + '', "#MAKE#: Nothing to be done for `default'.\n"); + +rmdir('vpath-d'); + 1; |