• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#                                                                    -*-perl-*-
2$description = "Test the -q option.\n";
3
4$details = "Try various uses of -q and ensure they all give the correct results.\n";
5
6# TEST 0
7
8run_make_test('
9one:
10two: ;
11three: ; :
12four: ; $(.XY)
13five: ; \
14 $(.XY)
15six: ; \
16 $(.XY)
17	$(.XY)
18seven: ; \
19 $(.XY)
20	: foo
21	$(.XY)
22',
23              '-q one', '');
24
25# TEST 1
26
27run_make_test(undef, '-q two', '');
28
29# TEST 2
30
31run_make_test(undef, '-q three', '', 256);
32
33# TEST 3
34
35run_make_test(undef, '-q four', '');
36
37# TEST 4
38
39run_make_test(undef, '-q five', '');
40
41# TEST 5
42
43run_make_test(undef, '-q six', '');
44
45# TEST 6
46
47run_make_test(undef, '-q seven', '', 256);
48
49# TEST 7 : Savannah bug # 7144
50
51run_make_test('
52one:: ; @echo one
53one:: ; @echo two
54',
55              '-q', '', 256);
56
571;
58