]> source.dussan.org Git - aspectj.git/commitdiff
suite files now constrained to be readable to avoid confusion with -ajctestTitle...
authorwisberg <wisberg>
Sun, 25 May 2003 00:44:02 +0000 (00:44 +0000)
committerwisberg <wisberg>
Sun, 25 May 2003 00:44:02 +0000 (00:44 +0000)
testing-drivers/src/org/aspectj/testing/drivers/Harness.java

index b9b540cba90a99d018ab6bf232a2f266d93a1598..1a8e8ea9de067e86621b4d4f5095578136795395 100644 (file)
@@ -371,7 +371,8 @@ public class Harness {
     
     protected boolean isSuiteFile(String arg) {
         return ((null != arg) 
-                && (arg.endsWith(".txt") || arg.endsWith(".xml")));
+                && (arg.endsWith(".txt") || arg.endsWith(".xml"))
+                && new File(arg).canRead());
     }
     
     /**