2 $description = "Test the -q option.\n";
4 $details = "Try various uses of -q and ensure they all give the correct results.\n";
6 open(MAKEFILE, "> $makefile");
8 # The Contents of the MAKEFILE ...
10 print MAKEFILE <<'EOMAKE';
30 &run_make_with_options($makefile, "-q one", &get_logfile);
32 &compare_output($answer, &get_logfile(1));
36 &run_make_with_options($makefile, "-q two", &get_logfile);
38 &compare_output($answer, &get_logfile(1));
42 &run_make_with_options($makefile, "-q three", &get_logfile, 256);
44 &compare_output($answer, &get_logfile(1));
48 &run_make_with_options($makefile, "-q four", &get_logfile);
50 &compare_output($answer, &get_logfile(1));
54 &run_make_with_options($makefile, "-q five", &get_logfile);
56 &compare_output($answer, &get_logfile(1));
60 &run_make_with_options($makefile, "-q six", &get_logfile);
62 &compare_output($answer, &get_logfile(1));
66 &run_make_with_options($makefile, "-q seven", &get_logfile, 256);
68 &compare_output($answer, &get_logfile(1));