1
0
Fork 0
mirror of https://github.com/shlomif/PySolFC.git synced 2025-04-05 00:02:29 -04:00

Remove some old leftovers.

This commit is contained in:
Shlomi Fish 2017-12-11 00:38:26 +02:00
parent 3017266108
commit 946e0dfe4a

View file

@ -155,38 +155,21 @@ sub myglob
} }
} }
# Put the valgrind tests last, because they take a long time.
my @tests = my @tests =
sort { sort { ( basename($a) cmp basename($b) ) || ( $a cmp $b ) }
( ( ( $a =~ /valgrind/ ) <=> ( $b =~ /valgrind/ ) ) * ( myglob("$abs_bindir/tests/*") );
( _is_parallized() ? -1 : 1 ) )
|| ( basename($a) cmp basename($b) )
|| ( $a cmp $b )
} (
( myglob("$abs_bindir/tests/*") )
);
if ($IS_WIN) if ($IS_WIN)
{ {
@tests = grep {not (/pysolgtk/i or /import_v2/i)} @tests; @tests = grep {not (/pysolgtk/i or /import_v2/i)} @tests;
} }
# print "tests = @tests \n";
if ( defined($exclude_re_s) ) if ( defined($exclude_re_s) )
{ {
my $re = qr/$exclude_re_s/ms; my $re = qr/$exclude_re_s/ms;
@tests = grep { basename($_) !~ $re } @tests; @tests = grep { basename($_) !~ $re } @tests;
} }
if ( !$ENV{FCS_TEST_BUILD} )
{
@tests = grep { !/build-process/ } @tests;
}
if ( $ENV{FCS_TEST_WITHOUT_VALGRIND} )
{
@tests = grep { !/valgrind/ } @tests;
}
local $ENV{FCS_TEST_TAGS} = $ENV{FCS_TEST_TAGS} // ''; local $ENV{FCS_TEST_TAGS} = $ENV{FCS_TEST_TAGS} // '';
print STDERR "FCS_PATH = $ENV{FCS_PATH}\n"; print STDERR "FCS_PATH = $ENV{FCS_PATH}\n";
print STDERR "FCS_SRC_PATH = $ENV{FCS_SRC_PATH}\n"; print STDERR "FCS_SRC_PATH = $ENV{FCS_SRC_PATH}\n";