Skip to content

Commit

Permalink
fix: Enables parallel tests. (INRIA#838)
Browse files Browse the repository at this point in the history
  • Loading branch information
monperrus authored and sjd78 committed Nov 3, 2016
1 parent 0c54863 commit 8e59757
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,12 @@ protected void generateProcessedSourceFilesUsingCUs() {

// this function is used to hack the JDT compiler...
protected File createTmpJavaFile(File folder) {
File f = new File(folder, "Tmp.java");
File f;
try {
f = File.createTempFile("Tmp", ".java", folder);
} catch (IOException e1) {
throw new SpoonException(e1);
}
if (f.exists()) {
return f;
}
Expand Down

0 comments on commit 8e59757

Please sign in to comment.