summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2011-12-10 17:13:14 +0000
committerPaul Smith <psmith@gnu.org>2011-12-10 17:13:14 +0000
commit3057357c0a5c2507eef2b61eef9ebfb569b30230 (patch)
treee01da0961d6b21748700c13247c70e0dee33b487 /tests
parentcb0bedc3d07c5561a89c14ea5cc81c08215855ee (diff)
downloadgunmake-3057357c0a5c2507eef2b61eef9ebfb569b30230.tar.gz
Add prerequisites to ensure ordering of results.
Diffstat (limited to 'tests')
-rw-r--r--tests/ChangeLog5
-rw-r--r--tests/scripts/targets/SECONDARY5
2 files changed, 8 insertions, 2 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog
index e2ada20..9ad40b7 100644
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -1,3 +1,8 @@
+2011-12-10 Paul Smith <psmith@gnu.org>
+
+ * scripts/targets/SECONDARY: Add prereq statements to ensure rules
+ are printed in the right order for test #9
+
2011-11-14 Paul Smith <psmith@gnu.org>
* scripts/features/double_colon: Check double-colon with escaped
diff --git a/tests/scripts/targets/SECONDARY b/tests/scripts/targets/SECONDARY
index c954ee9..26515d8 100644
--- a/tests/scripts/targets/SECONDARY
+++ b/tests/scripts/targets/SECONDARY
@@ -129,10 +129,11 @@ touch(qw(1.a 2.a));
run_make_test('
%.c : %.b ; cp $< $@
%.b : %.a ; cp $< $@
-all : 1.c 2.c', '-rR -j',
+all : 1.c 2.c
+2.a: 1.c', '-rR -j',
'cp 1.a 1.b
-cp 2.a 2.b
cp 1.b 1.c
+cp 2.a 2.b
cp 2.b 2.c
rm 1.b 2.b');