summaryrefslogtreecommitdiff
path: root/t/TEST
diff options
context:
space:
mode:
Diffstat (limited to 't/TEST')
-rwxr-xr-xt/TEST3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/TEST b/t/TEST
index e293a5c4ab..4eebf9adb4 100755
--- a/t/TEST
+++ b/t/TEST
@@ -80,6 +80,9 @@ our $show_elapsed_time = $ENV{HARNESS_TIMER} || 0;
}
chdir 't' if -f 't/TEST';
+if (-f 'TEST' && -f 'harness' && -d '../lib') {
+ @INC = '../lib';
+}
die "You need to run \"make test\" first to set things up.\n"
unless -e 'perl' or -e 'perl.exe' or -e 'perl.pm';