Finish thread state machine: fixes global destruction of threads,
[p5sagit/p5-mst-13.2.git] / t / harness
old mode 100755 (executable)
new mode 100644 (file)
index 18feb32..fe64a04
--- a/t/harness
+++ b/t/harness
@@ -4,14 +4,16 @@
 # sophisticated testing.
 
 BEGIN {
-  unshift @INC, '../lib';      # To get lib.pm
+    chdir 't' if -d 't';
+    @INC = '../lib';
 }
 use lib '../lib';
+
 use Test::Harness;
 
 $Test::Harness::switches = ""; # Too much noise otherwise
 $Test::Harness::verbose = shift if @ARGV && $ARGV[0] eq '-v';
 
 @tests = @ARGV;
-@tests = <*/*.t> unless @tests;
+@tests = <base/*.t comp/*.t cmd/*.t io/*.t op/*.t pragma/*.t lib/*.t> unless @tests;
 Test::Harness::runtests @tests;