4 use Test
::Harness
qw(&runtests $verbose);
6 my @tests = glob("unittests/*.cos");
9 for my $test (@tests) {
11 if ($test =~ /\.((c[123av])(,c[123av])*)\.cos$/) {
12 for my $v (split /,/, $1) {
20 #my $varr = '("'.join("\",\"",@variants).'")';
21 for my $v (@variants) {
23 $wrapper =~ s/(\.[c123av,]*)?\.cos$/.$v.pl/;
24 open FILE, ">$wrapper";
27 exec("./openc2e", "-n", "-d", "$v"."data", "-g", "$v", "-b", "$test");
31 push @testfiles,$wrapper;
37 map { unlink } @testfiles;