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/options/dash-q

    r53 r284  
    44$details = "Try various uses of -q and ensure they all give the correct results.\n";
    55
    6 open(MAKEFILE, "> $makefile");
     6# TEST 0
    77
    8 # The Contents of the MAKEFILE ...
    9 
    10 print MAKEFILE <<'EOMAKE';
     8run_make_test('
    119one:
    1210two: ;
     
    2220        : foo
    2321        $(.XY)
    24 EOMAKE
    25 
    26 close(MAKEFILE);
    27 
    28 # TEST 0
    29 
    30 &run_make_with_options($makefile, "-q one", &get_logfile);
    31 $answer = "";
    32 &compare_output($answer, &get_logfile(1));
     22',
     23              '-q one', '');
    3324
    3425# TEST 1
    3526
    36 &run_make_with_options($makefile, "-q two", &get_logfile);
    37 $answer = "";
    38 &compare_output($answer, &get_logfile(1));
     27run_make_test(undef, '-q two', '');
    3928
    4029# TEST 2
    4130
    42 &run_make_with_options($makefile, "-q three", &get_logfile, 256);
    43 $answer = "";
    44 &compare_output($answer, &get_logfile(1));
     31run_make_test(undef, '-q three', '', 256);
    4532
    4633# TEST 3
    4734
    48 &run_make_with_options($makefile, "-q four", &get_logfile);
    49 $answer = "";
    50 &compare_output($answer, &get_logfile(1));
     35run_make_test(undef, '-q four', '');
    5136
    5237# TEST 4
    5338
    54 &run_make_with_options($makefile, "-q five", &get_logfile);
    55 $answer = "";
    56 &compare_output($answer, &get_logfile(1));
     39run_make_test(undef, '-q five', '');
    5740
    5841# TEST 5
    5942
    60 &run_make_with_options($makefile, "-q six", &get_logfile);
    61 $answer = "";
    62 &compare_output($answer, &get_logfile(1));
     43run_make_test(undef, '-q six', '');
    6344
    6445# TEST 6
    6546
    66 &run_make_with_options($makefile, "-q seven", &get_logfile, 256);
    67 $answer = "";
    68 &compare_output($answer, &get_logfile(1));
     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);
    6956
    70571;
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