/
hll.t
137 lines (104 loc) · 10.5 KB
/
hll.t
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
use Test::More;
use Test::Mojo;
use FindBin;
require "$FindBin::Bin/../app-parrot-create";
use lib "$FindBin::Bin/../lib"; # install location
use App::Parrot::Create::HLL;
ok(my $hll = App::Parrot::Create::HLL->new(),"Create HLL object");
my ($name, $builder, $harness, $parrot_revision, $with_pmc, $with_ops, $with_doc, $template) =
('a',App::Parrot::Create::Type::WINXED,App::Parrot::Create::Type::PERL5, "5.3.0",1,1,1,"project-templates/hll.parrot");
$hll->init($name, $builder, $harness, $parrot_revision, $with_pmc, $with_ops, $with_doc, $template);
ok(my $archive_path = $hll->generate(),"Winxed build + Perl 5 test with options");
($name, $builder, $harness, $parrot_revision, $with_pmc, $with_ops, $with_doc, $template) =
('ab',App::Parrot::Create::Type::WINXED,App::Parrot::Create::Type::PERL5, "5.3.0",0,0,0,"project-templates/hll.parrot");
$hll->init($name, $builder, $harness, $parrot_revision, $with_pmc, $with_ops, $with_doc, $template);
ok($archive_path = $hll->generate(),"Winxed build + Perl 5 test without options");
($name, $builder, $harness, $parrot_revision, $with_pmc, $with_ops, $with_doc, $template) =
('abc', App::Parrot::Create::Type::NQP, App::Parrot::Create::Type::PERL5, "5.3.0",1,1,1,"project-templates/hll.parrot");
$hll->init($name, $builder, $harness, $parrot_revision, $with_pmc, $with_ops, $with_doc, $template);
ok($archive_path = $hll->generate(),"NQP build + Perl 5 test with options");
($name, $builder, $harness, $parrot_revision, $with_pmc, $with_ops, $with_doc, $template) =
('abcd', App::Parrot::Create::Type::NQP, App::Parrot::Create::Type::PERL5, "5.3.0",0,0,0,"project-templates/hll.parrot");
$hll->init($name, $builder, $harness, $parrot_revision, $with_pmc, $with_ops, $with_doc, $template);
ok($archive_path = $hll->generate(),"NQP build + Perl 5 test without options");
($name, $builder, $harness, $parrot_revision, $with_pmc, $with_ops, $with_doc, $template) =
('abcde', App::Parrot::Create::Type::PIR, App::Parrot::Create::Type::PERL5, "5.3.0",1,1,1,"project-templates/hll.parrot");
$hll->init($name, $builder, $harness, $parrot_revision, $with_pmc, $with_ops, $with_doc, $template);
ok($archive_path = $hll->generate(),"PIR build + Perl 5 test with options");
($name, $builder, $harness, $parrot_revision, $with_pmc, $with_ops, $with_doc, $template) =
('abcdef', App::Parrot::Create::Type::PIR, App::Parrot::Create::Type::PERL5, "5.3.0",0,0,0,"project-templates/hll.parrot");
$hll->init($name, $builder, $harness, $parrot_revision, $with_pmc, $with_ops, $with_doc, $template);
ok($archive_path = $hll->generate(),"PIR build + Perl 5 test without options");
($name, $builder, $harness, $parrot_revision, $with_pmc, $with_ops, $with_doc, $template) =
('abcdefg', App::Parrot::Create::Type::PERL5, App::Parrot::Create::Type::PERL5, "5.3.0",1,1,1,"project-templates/hll.parrot");
$hll->init($name, $builder, $harness, $parrot_revision, $with_pmc, $with_ops, $with_doc, $template);
ok($archive_path = $hll->generate(),"Perl 5 build + Perl 5 test with options");
($name, $builder, $harness, $parrot_revision, $with_pmc, $with_ops, $with_doc, $template) =
('abcdefgh', App::Parrot::Create::Type::PERL5, App::Parrot::Create::Type::PERL5, "5.3.0",0,0,0,"project-templates/hll.parrot");
$hll->init($name, $builder, $harness, $parrot_revision, $with_pmc, $with_ops, $with_doc, $template);
ok($archive_path = $hll->generate(),"Perl 5 build + Perl 5 test without options");
($name, $builder, $harness, $parrot_revision, $with_pmc, $with_ops, $with_doc, $template) =
('b',App::Parrot::Create::Type::WINXED,App::Parrot::Create::Type::ROSELLA_WINXED, "5.3.0",1,1,1,"project-templates/hll.parrot");
$hll->init($name, $builder, $harness, $parrot_revision, $with_pmc, $with_ops, $with_doc, $template);
ok($archive_path = $hll->generate(),"Winxed build + Rosella(Winxed) test with options");
($name, $builder, $harness, $parrot_revision, $with_pmc, $with_ops, $with_doc, $template) =
('bc',App::Parrot::Create::Type::WINXED,App::Parrot::Create::Type::ROSELLA_WINXED, "5.3.0",0,0,0,"project-templates/hll.parrot");
$hll->init($name, $builder, $harness, $parrot_revision, $with_pmc, $with_ops, $with_doc, $template);
ok($archive_path = $hll->generate(),"Winxed build + Rosella(Winxed) test without options");
($name, $builder, $harness, $parrot_revision, $with_pmc, $with_ops, $with_doc, $template) =
('bcd', App::Parrot::Create::Type::NQP, App::Parrot::Create::Type::ROSELLA_WINXED, "5.3.0",1,1,1,"project-templates/hll.parrot");
$hll->init($name, $builder, $harness, $parrot_revision, $with_pmc, $with_ops, $with_doc, $template);
ok($archive_path = $hll->generate(),"NQP build + Rosella(Winxed) test with options");
($name, $builder, $harness, $parrot_revision, $with_pmc, $with_ops, $with_doc, $template) =
('bcde', App::Parrot::Create::Type::NQP, App::Parrot::Create::Type::ROSELLA_WINXED, "5.3.0",0,0,0,"project-templates/hll.parrot");
$hll->init($name, $builder, $harness, $parrot_revision, $with_pmc, $with_ops, $with_doc, $template);
ok($archive_path = $hll->generate(),"NQP build + Rosella(Winxed) test without options");
($name, $builder, $harness, $parrot_revision, $with_pmc, $with_ops, $with_doc, $template) =
('bcdef', App::Parrot::Create::Type::PIR, App::Parrot::Create::Type::ROSELLA_WINXED, "5.3.0",1,1,1,"project-templates/hll.parrot");
$hll->init($name, $builder, $harness, $parrot_revision, $with_pmc, $with_ops, $with_doc, $template);
ok($archive_path = $hll->generate(),"PIR build + Rosella(Winxed) test with options");
($name, $builder, $harness, $parrot_revision, $with_pmc, $with_ops, $with_doc, $template) =
('bcdefg', App::Parrot::Create::Type::PIR, App::Parrot::Create::Type::ROSELLA_WINXED, "5.3.0",0,0,0,"project-templates/hll.parrot");
$hll->init($name, $builder, $harness, $parrot_revision, $with_pmc, $with_ops, $with_doc, $template);
ok($archive_path = $hll->generate(),"PIR build + Rosella(Winxed) test without options");
($name, $builder, $harness, $parrot_revision, $with_pmc, $with_ops, $with_doc, $template) =
('bcdfgh', App::Parrot::Create::Type::PERL5, App::Parrot::Create::Type::ROSELLA_WINXED, "5.3.0",1,1,1,"project-templates/hll.parrot");
$hll->init($name, $builder, $harness, $parrot_revision, $with_pmc, $with_ops, $with_doc, $template);
ok($archive_path = $hll->generate(),"Perl 5 build + Perl 5 test with options");
($name, $builder, $harness, $parrot_revision, $with_pmc, $with_ops, $with_doc, $template) =
('bcdfghk', App::Parrot::Create::Type::PERL5, App::Parrot::Create::Type::ROSELLA_WINXED, "5.3.0",0,0,0,"project-templates/hll.parrot");
$hll->init($name, $builder, $harness, $parrot_revision, $with_pmc, $with_ops, $with_doc, $template);
ok($archive_path = $hll->generate(),"Perl 5 build + Perl 5 test without options");
($name, $builder, $harness, $parrot_revision, $with_pmc, $with_ops, $with_doc, $template) =
('c',App::Parrot::Create::Type::WINXED,App::Parrot::Create::Type::ROSELLA_NQP, "5.3.0",1,1,1,"project-templates/hll.parrot");
$hll->init($name, $builder, $harness, $parrot_revision, $with_pmc, $with_ops, $with_doc, $template);
ok($archive_path = $hll->generate(),"Winxed build + Rosella(Winxed) test with options");
($name, $builder, $harness, $parrot_revision, $with_pmc, $with_ops, $with_doc, $template) =
('cd',App::Parrot::Create::Type::WINXED,App::Parrot::Create::Type::ROSELLA_NQP, "5.3.0",0,0,0,"project-templates/hll.parrot");
$hll->init($name, $builder, $harness, $parrot_revision, $with_pmc, $with_ops, $with_doc, $template);
ok($archive_path = $hll->generate(),"Winxed build + Rosella(Winxed) test without options");
($name, $builder, $harness, $parrot_revision, $with_pmc, $with_ops, $with_doc, $template) =
('cde', App::Parrot::Create::Type::NQP, App::Parrot::Create::Type::ROSELLA_NQP, "5.3.0",1,1,1,"project-templates/hll.parrot");
$hll->init($name, $builder, $harness, $parrot_revision, $with_pmc, $with_ops, $with_doc, $template);
ok($archive_path = $hll->generate(),"NQP build + Rosella(Winxed) test with options");
($name, $builder, $harness, $parrot_revision, $with_pmc, $with_ops, $with_doc, $template) =
('cdef', App::Parrot::Create::Type::NQP, App::Parrot::Create::Type::ROSELLA_NQP, "5.3.0",0,0,0,"project-templates/hll.parrot");
$hll->init($name, $builder, $harness, $parrot_revision, $with_pmc, $with_ops, $with_doc, $template);
ok($archive_path = $hll->generate(),"NQP build + Rosella(Winxed) test without options");
($name, $builder, $harness, $parrot_revision, $with_pmc, $with_ops, $with_doc, $template) =
('cdefg', App::Parrot::Create::Type::PIR, App::Parrot::Create::Type::ROSELLA_NQP, "5.3.0",1,1,1,"project-templates/hll.parrot");
$hll->init($name, $builder, $harness, $parrot_revision, $with_pmc, $with_ops, $with_doc, $template);
ok($archive_path = $hll->generate(),"PIR build + Rosella(Winxed) test with options");
($name, $builder, $harness, $parrot_revision, $with_pmc, $with_ops, $with_doc, $template) =
('cdefgh', App::Parrot::Create::Type::PIR, App::Parrot::Create::Type::ROSELLA_NQP, "5.3.0",0,0,0,"project-templates/hll.parrot");
$hll->init($name, $builder, $harness, $parrot_revision, $with_pmc, $with_ops, $with_doc, $template);
ok($archive_path = $hll->generate(),"PIR build + Rosella(Winxed) test without options");
($name, $builder, $harness, $parrot_revision, $with_pmc, $with_ops, $with_doc, $template) =
('cdefghk', App::Parrot::Create::Type::PERL5, App::Parrot::Create::Type::ROSELLA_NQP, "5.3.0",1,1,1,"project-templates/hll.parrot");
$hll->init($name, $builder, $harness, $parrot_revision, $with_pmc, $with_ops, $with_doc, $template);
ok($archive_path = $hll->generate(),"Perl 5 build + Perl 5 test with options");
($name, $builder, $harness, $parrot_revision, $with_pmc, $with_ops, $with_doc, $template) =
('cdefghkm', App::Parrot::Create::Type::PERL5, App::Parrot::Create::Type::ROSELLA_NQP, "5.3.0",0,0,0,"project-templates/hll.parrot");
$hll->init($name, $builder, $harness, $parrot_revision, $with_pmc, $with_ops, $with_doc, $template);
ok($archive_path = $hll->generate(),"Perl 5 build + Perl 5 test without options");
done_testing();