summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Miedema <thomasmiedema@gmail.com>2015-08-28 01:00:31 +0200
committerThomas Miedema <thomasmiedema@gmail.com>2015-09-02 20:29:35 +0200
commitbd16e0bc6af13f1347235782935f7dcd40b260e2 (patch)
tree3223ff636d93a2384b542480f11882a323b1c8cd
parentc43c8e2c8a6780737b476ada871387a73c43ee68 (diff)
downloadhaskell-bd16e0bc6af13f1347235782935f7dcd40b260e2.tar.gz
Testsuite: delete dead code
-rw-r--r--testsuite/driver/testlib.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/testsuite/driver/testlib.py b/testsuite/driver/testlib.py
index 68a9208a4b..5a587a7264 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])