VirtualBox

Changeset 2173 in kBuild for trunk


Ignore:
Timestamp:
Dec 31, 2008 12:16:41 AM (16 years ago)
Author:
bird
Message:

kmk tests: more -j1 fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/tests/scripts/features/patspecific_vars

    r969 r2173  
    3737# TEST #1 -- basics
    3838
    39 &run_make_with_options($makefile, "", &get_logfile);
     39&run_make_with_options($makefile, "-j1", &get_logfile);
    4040$answer = "one.x: one two baz\ntwo.x: foo four baz\nthree.x: foo four three\n";
    4141&compare_output($answer,&get_logfile(1));
     
    4444# TEST #2 -- try the override feature
    4545
    46 &run_make_with_options($makefile, "BAZ=five", &get_logfile);
     46&run_make_with_options($makefile, "-j1 BAZ=five", &get_logfile);
    4747$answer = "one.x: one two five\ntwo.x: foo four five\nthree.x: foo four three\n";
    4848&compare_output($answer,&get_logfile(1));
     
    5151# TEST #3 -- make sure patterns are inherited properly
    5252
    53 &run_make_with_options($makefile, "four.x", &get_logfile);
     53&run_make_with_options($makefile, "-j1 four.x", &get_logfile);
    5454$answer = "baz: foo two baz\nfour.x: foo two baz\n";
    5555&compare_output($answer,&get_logfile(1));
     
    5858# TEST #4 -- test multiple patterns matching the same target
    5959
    60 &run_make_with_options($makefile, "ab", &get_logfile);
     60&run_make_with_options($makefile, "-j1 ab", &get_logfile);
    6161$answer = "aaa bbb\nccc ddd\n";
    6262&compare_output($answer,&get_logfile(1));
     
    6969/bar:
    7070        @echo $(foo) $$foo
    71 ', '', 'foo foo');
     71', '-j1', 'foo foo');
    7272
    7373
     
    109109global := new $$t
    110110',
    111 '',
     111'-j1',
    112112'normal: global: orginal $t pattern:  inherit: ;
    113113pattrn: global: orginal $t pattern:  inherit: ;');
     
    117117#
    118118run_make_test(undef, # reuse previous makefile
    119 'rec=1',
     119'-j1 rec=1',
    120120'normal: global: new $t pattern: good $t inherit: good $t;
    121121pattrn: global: new $t pattern: good $t inherit: good $t;');
Note: See TracChangeset for help on using the changeset viewer.

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