Show
Ignore:
Timestamp:
03/08/10 11:42:36 (22 months ago)
Author:
westram
Message:
  • execute "slow" tests after other tests
  • flagged save/load DB test as slow
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/UNIT_TESTER/sym2testcode.pl

    r6653 r6682  
    141141  } keys %$id_r; 
    142142 
     143  # sort TEST_SLOW_ to the end 
     144  { 
     145    my @tests_fast = (); 
     146    my @tests_slow = (); 
     147 
     148    foreach (@tests) { 
     149      if (/^TEST_SLOW_/) { push @tests_slow, $_; } 
     150      else { push @tests_fast, $_; } 
     151    } 
     152 
     153    @tests = @tests_fast; 
     154    push @tests, @tests_slow; 
     155  } 
     156 
    143157  my $code = ''; 
    144158