From f907a4d90c895f04ee7497a5f1b58ad1fd3cddb5 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Mon, 28 Sep 2009 23:08:49 +0000 Subject: - Update manual description for pattern rule search algorithm - Add new "-all" flag to the test suite to run tests that don't pass yet - Add some non-passing tests - Fix from Andreas Buening for OS/2. --- tests/scripts/features/se_explicit | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'tests/scripts/features') diff --git a/tests/scripts/features/se_explicit b/tests/scripts/features/se_explicit index adf6b33..1b51474 100644 --- a/tests/scripts/features/se_explicit +++ b/tests/scripts/features/se_explicit @@ -130,5 +130,32 @@ endef !, '', "#MAKE#: *** prerequisites cannot be defined in recipes. Stop.\n", 512); + +if ($all_tests) { + # Automatic $$+ variable expansion issue. Savannah bug #25780 + run_make_test(q! +all : foo foo +.SECONDEXPANSION: +all : $$+ ; @echo '$+' +foo : ; +!, + '', "foo foo foo foo\n"); + +} + +if ($all_tests) { + # Automatic $$+ variable expansion issue. Savannah bug #25780 + run_make_test(q! +all : bar bar +bar : ; +q%x : ; +.SECONDEXPANSION: +a%l: q1x $$+ q2x ; @echo '$+' +!, + '', "q1x bar bar q2x bar bar\n"); + +} + + # This tells the test driver that the perl test script executed properly. 1; -- cgit v1.2.3