blob: 553439e0be467390669026c768d18cfc32265f41 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
& eval 'exec perl -S $0 $argv:q'
if 0;
# $Id$
# -*- perl -*-
use lib "$ENV{ACE_ROOT}/bin";
use PerlACE::Run_Test;
use Getopt::Std;
@list= (
{
dir_name => "1_Path_Period_0_Lanes",
cmd => "perl run_all.pl --all",
},
{
dir_name => "3_Path_Period_10ms_Lanes",
cmd => "perl run_all.pl --all",
},
{
dir_name => "Paths_vs_Throughput",
cmd => "perl run_all.pl --all",
},
{
dir_name => "Max_Throughput",
cmd => "perl run_all.pl",
},
);
for $test (@list)
{
if (-d $test->{dir_name})
{
print STDERR "Running $test->{dir_name} test\n";
$cmd = "run_test.pl";
chdir $test->{dir_name} or die "Could not chdir to $test->{dir_name}";
$status = system ("$test->{cmd}");
if ($status != 0)
{
print STDERR "ERROR: $test->{dir_name} test returned $status\n";
}
chdir "../";
}
}
|