summaryrefslogtreecommitdiff
path: root/t/harness
diff options
context:
space:
mode:
Diffstat (limited to 't/harness')
-rwxr-xr-xt/harness7
1 files changed, 5 insertions, 2 deletions
diff --git a/t/harness b/t/harness
index 5b460f3de4..8d87ddd7fb 100755
--- a/t/harness
+++ b/t/harness
@@ -3,9 +3,12 @@
# We suppose that perl _mostly_ works at this moment, so may use
# sophisticated testing.
-# Note that _before install_ you may need to run it with -I ../lib flag
-
+BEGIN {
+ chdir 't' if -d 't';
+ @INC = '../lib';
+}
use lib '../lib';
+
use Test::Harness;
$Test::Harness::switches = ""; # Too much noise otherwise