Skip to content

Commit

Permalink
Merge pull request #115 from tudortimi/fix-handling-of-tests-link-whe…
Browse files Browse the repository at this point in the history
…n-running-svunit

Fix handling of tests link when running SVUnit
  • Loading branch information
tudortimi authored Apr 16, 2023
2 parents 1c57f9a + c98a9b5 commit 08ea071
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,10 @@ protected void run() {
private void createLinkToTests() {
try {
File testsLink = new File(workingDir.get().getAsFile(), "tests");
Files.deleteIfExists(testsLink.toPath());
Files.createSymbolicLink(testsLink.toPath(), getTestsRoot().toPath());
} catch (IOException e) {
System.out.println("Could not create 'tests' link");
throw new RuntimeException("Could not create 'tests' link.\n\n" + e.toString());
}

}
Expand Down

0 comments on commit 08ea071

Please sign in to comment.