VirtualBox

Ignore:
Timestamp:
May 16, 2005 4:54:08 PM (19 years ago)
Author:
bird
Message:

Current make snaphot, 2005-05-16.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/gmake/tests/scripts/targets/PHONY

    r53 r284  
    2828print MAKEFILE "\t\@echo This makefile did not clean the dir ... good\n";
    2929print MAKEFILE "clean: \n";
    30 print MAKEFILE "\t$delete_command $example clean\n"; 
     30print MAKEFILE "\t$delete_command $example clean\n";
    3131
    3232# END of Contents of MAKEFILE
     
    3737
    3838# Create a file named "clean".  This is the same name as the target clean
    39 # and tricks the target into thinking that it is up to date.  (Unless you 
     39# and tricks the target into thinking that it is up to date.  (Unless you
    4040# use the .PHONY target.
    4141&touch("clean");
     
    4444&run_make_with_options($makefile,"clean",&get_logfile);
    4545
    46 &compare_output($answer,&get_logfile(1));
     46if (-f $example) {
     47  $test_passed = 0;
     48}
    4749
    48 if (-f $example)
    49 {
    50    $test_passed = 0;
    51 }
    52  
     50&compare_output($answer,&get_logfile(1));
     51
    53521;
    5453
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette