Skip to content

Commit

Permalink
Set PERL6LIB in the harness, which unbusts running spectest on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Apr 21, 2012
1 parent 48c8394 commit 1917a7a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions t/harness
Expand Up @@ -13,6 +13,7 @@ use Pod::Usage;

my $slash = $^O eq 'MSWin32' ? '\\' : '/';
$ENV{'HARNESS_PERL'} = ".${slash}perl6";
$ENV{'PERL6LIB'} = 'lib';
use Test::Harness;
$Test::Harness::switches = '';

Expand Down
4 changes: 2 additions & 2 deletions tools/build/Makefile.in
Expand Up @@ -402,12 +402,12 @@ test : coretest
fulltest: coretest stresstest

coretest: all
PERL6LIB=lib $(PERL) t/harness t/00-parrot t/01-sanity
$(PERL) t/harness t/00-parrot t/01-sanity

# Run the spectests that we know work.
spectest_regression: spectest
spectest: testable t/spectest.data
PERL6LIB=lib $(HARNESS_WITH_FUDGE) --tests-from-file=t/spectest.data
$(HARNESS_WITH_FUDGE) --tests-from-file=t/spectest.data

spectest_full: testable
$(HARNESS_WITH_FUDGE) t/spec
Expand Down

0 comments on commit 1917a7a

Please sign in to comment.