1 $description = "The following tests the special target .SILENT. By simply\n"
2 ."mentioning this as a target, it tells make not to print\n"
3 ."commands before executing them.";
5 $details = "This test is the same as the clean test except that it should\n"
6 ."not echo its command before deleting the specified file.\n";
10 $delete_command = "delete_file";
14 $delete_command = "rm";
17 $example = "EXAMPLE_FILE";
19 open(MAKEFILE,"> $makefile");
21 # The Contents of the MAKEFILE ...
23 print MAKEFILE ".SILENT : clean\n";
24 print MAKEFILE "clean: \n";
25 print MAKEFILE "\t$delete_command EXAMPLE_FILE\n";
27 # END of Contents of MAKEFILE
34 &run_make_with_options($makefile,"clean",&get_logfile,0);
36 &compare_output($answer,&get_logfile(1));