[Git][ghc/ghc][wip/junit-fixes] Fix
Ben Gamari
gitlab at gitlab.haskell.org
Mon Jun 24 11:04:10 UTC 2019
Ben Gamari pushed to branch wip/junit-fixes at Glasgow Haskell Compiler / GHC
Commits:
3ec8f7e9 by Ben Gamari at 2019-06-24T11:04:02Z
Fix
- - - - -
1 changed file:
- testsuite/driver/testlib.py
Changes:
=====================================
testsuite/driver/testlib.py
=====================================
@@ -930,7 +930,7 @@ def do_test(name: TestName, way: WayName, func, args, files: Set[str]) -> None:
# Clean up prior to the test, so that we can't spuriously conclude
# that it passed on the basis of old run outputs.
cleanup()
- opts.testdir.mkdir(parents=True)
+ opts.testdir.mkdir(parents=True, exist_ok=True)
# Link all source files for this test into a new directory in
# /tmp, and run the test in that directory. This makes it
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/commit/3ec8f7e93ffb4abb36e92d657d445d456994a782
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/commit/3ec8f7e93ffb4abb36e92d657d445d456994a782
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20190624/26a06515/attachment.html>
More information about the ghc-commits
mailing list