[commit: ghc] master: Testsuite: delete dead code (bd16e0b)

git at git.haskell.org git at git.haskell.org
Wed Sep 2 18:29:20 UTC 2015


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

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

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

commit bd16e0bc6af13f1347235782935f7dcd40b260e2
Author: Thomas Miedema <thomasmiedema at gmail.com>
Date:   Fri Aug 28 01:00:31 2015 +0200

    Testsuite: delete dead code


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

bd16e0bc6af13f1347235782935f7dcd40b260e2
 testsuite/driver/testlib.py | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/testsuite/driver/testlib.py b/testsuite/driver/testlib.py
index 68a9208..5a587a7 100644
--- a/testsuite/driver/testlib.py
+++ b/testsuite/driver/testlib.py
@@ -1407,11 +1407,8 @@ def interpreter_run( name, way, extra_hc_opts, compile_only, top_mod ):
         stdin_file = qualify(name, 'stdin')
 
     if os.path.exists(stdin_file):
-        stdin = open(stdin_file, 'r')
         os.system('cat ' + stdin_file + ' >>' + qscriptname)
 
-    script.close()
-
     flags = ' '.join(get_compiler_flags(override_flags=None, noforce=False) +
                      config.way_flags(name)[way])
 



More information about the ghc-commits mailing list