summaryrefslogtreecommitdiff
path: root/testsuite/driver/testutil.py
diff options
context:
space:
mode:
authorKrzysztof Gogolewski <krz.gogolewski@gmail.com>2018-07-27 18:40:26 +0200
committerKrzysztof Gogolewski <krz.gogolewski@gmail.com>2018-07-27 20:43:38 +0200
commit2cb08d72d938fa6fdf46da032980af8c4973a0be (patch)
treec8cd1b45de6baaa589fb7141ce9549bf4a76e530 /testsuite/driver/testutil.py
parentd7cb1bbc26719cf6082abe0d91d80be466e25bfc (diff)
downloadhaskell-2cb08d72d938fa6fdf46da032980af8c4973a0be.tar.gz
Remove dead code in testsuite driver
Test Plan: validate Reviewers: bgamari, O7 GHC - Testsuite Reviewed By: bgamari Subscribers: rwbarton, thomie, carter Differential Revision: https://phabricator.haskell.org/D4972
Diffstat (limited to 'testsuite/driver/testutil.py')
-rw-r--r--testsuite/driver/testutil.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/testsuite/driver/testutil.py b/testsuite/driver/testutil.py
index dcba1777d1..104bbffab4 100644
--- a/testsuite/driver/testutil.py
+++ b/testsuite/driver/testutil.py
@@ -1,4 +1,3 @@
-import errno
import os
import platform
import subprocess
@@ -25,15 +24,6 @@ def getStdout(cmd_and_args):
raise Exception("stderr from command: %s\nOutput:\n%s\n" % (cmd_and_args, stderr))
return stdout
-def mkdirp(path):
- try:
- os.makedirs(path)
- except OSError as e:
- if e.errno == errno.EEXIST and os.path.isdir(path):
- pass
- else:
- raise
-
def lndir(srcdir, dstdir):
# Create symlinks for all files in src directory.
# Not all developers might have lndir installed.
@@ -60,10 +50,6 @@ else:
link_or_copy_file = os.symlink
class Watcher(object):
- global pool
- global evt
- global sync_lock
-
def __init__(self, count):
self.pool = count
self.evt = threading.Event()