Permalink
Browse files

Merge pull request #35 from Arcadie/master

Create test output dir if it doesn't exist
  • Loading branch information...
2 parents b302706 + 5aa8f4d commit 5bc56b9722f8d2765df96013d8847fc9e7cd314d @dwdyer committed Feb 19, 2013
@@ -100,7 +100,7 @@ public void generateReport(List<XmlSuite> xmlSuites,
boolean onlyFailures = System.getProperty(ONLY_FAILURES_PROPERTY, "false").equals("true");
File outputDirectory = new File(outputDirectoryName, REPORT_DIRECTORY);
- outputDirectory.mkdir();
+ outputDirectory.mkdirs();
try
{
@@ -63,7 +63,7 @@ public void generateReport(List<XmlSuite> xmlSuites,
removeEmptyDirectories(new File(outputDirectoryName));
File outputDirectory = new File(outputDirectoryName, REPORT_DIRECTORY);
- outputDirectory.mkdir();
+ outputDirectory.mkdirs();
Collection<TestClassResults> flattenedResults = flattenResults(suites);

0 comments on commit 5bc56b9

Please sign in to comment.