2 $description = "Test the -q option.\n";
4 $details = "Try various uses of -q and ensure they all give the correct results.\n";
27 run_make_test(undef, '-q two', '');
31 run_make_test(undef, '-q three', '', 256);
35 run_make_test(undef, '-q four', '');
39 run_make_test(undef, '-q five', '');
43 run_make_test(undef, '-q six', '');
47 run_make_test(undef, '-q seven', '', 256);
49 # TEST 7 : Savannah bug # 7144
57 # TEST 7 : Savannah bug # 42249
58 # Make sure we exit with 1 even for prerequisite updates
60 build-stamp: ; echo $@
61 build-arch: build-stamp
65 '-q build-y', '', 256);
68 # Make sure we exit with 2 on error even with -q
70 build-stamp: ; echo $@
71 build-arch: build-stamp-2
75 '-q build-y', "#MAKE#: *** No rule to make target 'build-stamp-2', needed by 'build-arch'. Stop.\n", 512);