From: Paul Smith Date: Sat, 10 Dec 2011 17:13:14 +0000 (+0000) Subject: Add prerequisites to ensure ordering of results. X-Git-Tag: moved-to-git~53 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3057357c0a5c2507eef2b61eef9ebfb569b30230;p=thirdparty%2Fmake.git Add prerequisites to ensure ordering of results. --- diff --git a/tests/ChangeLog b/tests/ChangeLog index e2ada201..9ad40b7d 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,8 @@ +2011-12-10 Paul Smith + + * scripts/targets/SECONDARY: Add prereq statements to ensure rules + are printed in the right order for test #9 + 2011-11-14 Paul Smith * scripts/features/double_colon: Check double-colon with escaped diff --git a/tests/scripts/targets/SECONDARY b/tests/scripts/targets/SECONDARY index c954ee9a..26515d8a 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');