diff options
Diffstat (limited to 'testing-drivers')
-rw-r--r-- | testing-drivers/src/org/aspectj/testing/drivers/Harness.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testing-drivers/src/org/aspectj/testing/drivers/Harness.java b/testing-drivers/src/org/aspectj/testing/drivers/Harness.java index b9b540cba..1a8e8ea9d 100644 --- a/testing-drivers/src/org/aspectj/testing/drivers/Harness.java +++ b/testing-drivers/src/org/aspectj/testing/drivers/Harness.java @@ -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()); } /** |