VirtualBox

Changeset 2165 in kBuild


Ignore:
Timestamp:
Dec 30, 2008 1:30:01 AM (16 years ago)
Author:
bird
Message:

two more tests which requires some -j1 to get the order right.

Location:
trunk/src/kmk/tests/scripts
Files:
2 edited

Legend:

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

    r1960 r2165  
    6767# TEST #2
    6868
    69 &run_make_with_options($makefile, "one two FOO=1 BAR=2", &get_logfile);
     69&run_make_with_options($makefile, "-j1 one two FOO=1 BAR=2", &get_logfile);
    7070$answer = "one 2\n1 2\n";
    7171&compare_output($answer,&get_logfile(1));
     
    7373# TEST #3
    7474
    75 &run_make_with_options($makefile, "four", &get_logfile);
     75&run_make_with_options($makefile, "-j1 four", &get_logfile);
    7676$answer = "x ok  ok\n";
    7777&compare_output($answer,&get_logfile(1));
     
    7979# TEST #4
    8080
    81 &run_make_with_options($makefile, "seven", &get_logfile);
     81&run_make_with_options($makefile, "-j1 seven", &get_logfile);
    8282$answer = "eight: seven eight\nseven: seven seven\n";
    8383&compare_output($answer,&get_logfile(1));
     
    8585# TEST #5
    8686
    87 &run_make_with_options($makefile, "nine", &get_logfile);
     87&run_make_with_options($makefile, "-j1 nine", &get_logfile);
    8888$answer = "wallace bar wallace bar\n";
    8989&compare_output($answer,&get_logfile(1));
     
    9191# TEST #5-a
    9292
    93 &run_make_with_options($makefile, "nine-a", &get_logfile);
     93&run_make_with_options($makefile, "-j1 nine-a", &get_logfile);
    9494$answer = "baz\n";
    9595&compare_output($answer,&get_logfile(1));
     
    9797# TEST #6
    9898
    99 &run_make_with_options($makefile, "ten", &get_logfile);
     99&run_make_with_options($makefile, "-j1 ten", &get_logfile);
    100100$answer = "one=two\none bar\n=\nfoo two\nten\n";
    101101&compare_output($answer,&get_logfile(1));
     
    103103# TEST #6
    104104
    105 &run_make_with_options($makefile, "foo.q bar.q", &get_logfile);
     105&run_make_with_options($makefile, "-j1 foo.q bar.q", &get_logfile);
    106106$answer = "qvar = rvar\nqvar =\n";
    107107&compare_output($answer,&get_logfile(1));
     
    109109# TEST #7
    110110
    111 &run_make_with_options($makefile, "foo.t bar.s", &get_logfile);
     111&run_make_with_options($makefile, "-j1 foo.t bar.s", &get_logfile);
    112112$answer = "qvar = qvar\nqvar =\n";
    113113&compare_output($answer,&get_logfile(1));
  • trunk/src/kmk/tests/scripts/misc/general2

    r969 r2165  
    3838&touch(@files_to_touch);
    3939
    40 &run_make_with_options($makefile,"",&get_logfile);
     40&run_make_with_options($makefile,"-j1",&get_logfile);
    4141
    4242# Create the answer to what should be produced by this Makefile
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