Changeset 2948


Ignore:
Timestamp:
28/04/2011 21:55:26 (13 months ago)
Author:
jamesog
Message:

Minor fix to runtest.pl to allow it to fail if an invalid test name is given - otherwise it fails to chdir() and runs make in the wrong directory.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/trunk/runtest.pl.in

    r2290 r2948  
    100100        # attempt to make this test 
    101101        my $flag = ($test_mode eq 'release')?(BoxPlatform::make_flag('RELEASE')):''; 
    102         my $make_res = system("cd test/$t ; $make_command $flag"); 
     102        my $make_res = system("cd test/$t && $make_command $flag"); 
    103103        if($make_res != 0) 
    104104        { 
Note: See TracChangeset for help on using the changeset viewer.