Skip to content

Fix #3613: Delete output dir before testing tastyBootstrap #4957

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 17, 2018

Conversation

nicolasstucki
Copy link
Contributor

No description provided.

@@ -196,6 +196,9 @@ class CompilationTests extends ParallelTesting {
val dotty2Group = TestGroup("tastyBootstrap/dotty2")
val libGroup = TestGroup("tastyBootstrap/lib")

// Make sure that the directory is clean
dotty.tools.io.Path(s"out/tastyBootstrap").deleteRecursively()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you mean to write s"$defaultOutputDir/tastyBootstrap"?

Copy link
Contributor

@allanrenucci allanrenucci Aug 17, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, you could do dotty.tools.io.Directory(...) to avoid unnecessary IOs

@Blaisorblade Blaisorblade merged commit 788908f into scala:master Aug 17, 2018
@Blaisorblade Blaisorblade deleted the fix-#3613 branch August 17, 2018 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants