[commit: ghc] master: Testsuite: delete dead code [skip ci] (9dbf354)

git at git.haskell.org git at git.haskell.org
Thu Jun 9 11:32:11 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/9dbf354fbc35d412e442271fb1ed805f2f279b09/ghc

>---------------------------------------------------------------

commit 9dbf354fbc35d412e442271fb1ed805f2f279b09
Author: Thomas Miedema <thomasmiedema at gmail.com>
Date:   Wed Jun 8 15:38:40 2016 +0200

    Testsuite: delete dead code [skip ci]


>---------------------------------------------------------------

9dbf354fbc35d412e442271fb1ed805f2f279b09
 testsuite/driver/testlib.py | 19 -------------------
 1 file changed, 19 deletions(-)

diff --git a/testsuite/driver/testlib.py b/testsuite/driver/testlib.py
index fb93721..f6db828 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
 



More information about the ghc-commits mailing list