summaryrefslogtreecommitdiff
path: root/testsuite/driver/testutil.py
diff options
context:
space:
mode:
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()