-
Notifications
You must be signed in to change notification settings - Fork 138
/
RunSteps.pm
76 lines (67 loc) · 1.3 KB
/
RunSteps.pm
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
package Parrot::Configure::RunSteps;
use strict;
use vars qw(@steps);
# EDIT HERE TO ADD NEW TESTS
@steps=qw(
init/manifest.pl
init/data.pl
init/miniparrot.pl
init/hints.pl
init/optimize.pl
init/headers.pl
inter/progs.pl
inter/types.pl
inter/ops.pl
inter/exp.pl
inter/pmc.pl
auto/ccflags.pl
auto/alignptrs.pl
auto/headers.pl
auto/sizes.pl
auto/byteorder.pl
auto/pack.pl
auto/format.pl
auto/gcc.pl
auto/isreg.pl
auto/jit.pl
auto/funcptr.pl
auto/cgoto.pl
auto/inline.pl
auto/gc.pl
auto/memalign.pl
auto/signal.pl
auto/env.pl
gen/icu.pl
gen/config_h.pl
gen/feature_h.pl
gen/config_pm.pl
gen/core_pmcs.pl
gen/parrot_include.pl
gen/makefiles.pl
gen/cflags.pl
gen/myconfig.pl
gen/platform.pl
gen/libparrot_def.pl
);
sub runsteps {
shift;
my %args=@_;
local $SIG{__WARN__} = sub {
warn $_[0] unless $_[0] =~ /^Subroutine runstep redefined at config/
};
for(@steps) {
#print "$_\n";
die "No config/$_" unless -e "config/$_";
require "config/$_";
print "\n$Configure::Step::description";
print "\n" if $args{verbose};
$Configure::Step::result='done';
{
local $_;
Configure::Step::runstep(@args{@Configure::Step::args});
}
print "..." if $args{verbose};
print "$Configure::Step::result." unless m{^inter/} && $args{ask};
}
}
1;