summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorThomas Miedema <thomasmiedema@gmail.com>2016-06-08 15:38:40 +0200
committerThomas Miedema <thomasmiedema@gmail.com>2016-06-09 13:31:30 +0200
commit9dbf354fbc35d412e442271fb1ed805f2f279b09 (patch)
treeccfe4525e706a40fb00bbaf88287e54fac765889 /testsuite
parent68c1c29d9c43a22a5cbd34fd67b7c543ede17eac (diff)
downloadhaskell-9dbf354fbc35d412e442271fb1ed805f2f279b09.tar.gz
Testsuite: delete dead code [skip ci]
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/driver/testlib.py19
1 files changed, 0 insertions, 19 deletions
diff --git a/testsuite/driver/testlib.py b/testsuite/driver/testlib.py
index fb93721ae3..f6db8288fa 100644
--- a/testsuite/driver/testlib.py
+++ b/testsuite/driver/testlib.py
@@ -1918,25 +1918,6 @@ def runCmdFor( name, cmd, timeout_multiplier=1.0 ):
def runCmdExitCode( cmd ):
return (runCmd(cmd) >> 8);
-
-# -----------------------------------------------------------------------------
-# Files that are read or written but shouldn't be:
-# * ghci_history shouldn't be read or written by tests
-# * things under package.conf.d shouldn't be written by tests
-bad_file_usages = {}
-
-def add_bad_file_usage(name, file):
- try:
- if not file in bad_file_usages[name]:
- bad_file_usages[name].append(file)
- except:
- bad_file_usages[name] = [file]
-
-def mkPath(curdir, path):
- # Given the current full directory is 'curdir', what is the full
- # path to 'path'?
- return os.path.realpath(os.path.join(curdir, path))
-
# -----------------------------------------------------------------------------
# checking if ghostscript is available for checking the output of hp2ps