From 1917a7a2baf0807b04af0b3086fbc1852cabb5cb Mon Sep 17 00:00:00 2001 From: Jonathan Worthington Date: Sat, 21 Apr 2012 12:34:56 +0200 Subject: [PATCH] Set PERL6LIB in the harness, which unbusts running spectest on Windows. --- t/harness | 1 + tools/build/Makefile.in | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/t/harness b/t/harness index 25183bd7a40..2fb7f1d50d4 100644 --- a/t/harness +++ b/t/harness @@ -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 = ''; diff --git a/tools/build/Makefile.in b/tools/build/Makefile.in index 160f2f284ba..73a7e77696c 100644 --- a/tools/build/Makefile.in +++ b/tools/build/Makefile.in @@ -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