Repository : ssh://darcs.haskell.org//srv/darcs/testsuite On branch : master
http://hackage.haskell.org/trac/ghc/changeset/9eababb3c5872c56ce0ab5d992bb6e5f91a1870b >--------------------------------------------------------------- commit 9eababb3c5872c56ce0ab5d992bb6e5f91a1870b Author: Simon Peyton Jones <[email protected]> Date: Sat Aug 20 13:21:15 2011 +0100 Fix Python crash caused by quoting problem in test for #5313 Thanks Simon M! >--------------------------------------------------------------- tests/driver/all.T | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/driver/all.T b/tests/driver/all.T index fd00fc6..936046c 100644 --- a/tests/driver/all.T +++ b/tests/driver/all.T @@ -305,10 +305,10 @@ test('dynHelloWorld', # (in #5313 it was failing the dyn way) p = subprocess.Popen([config.compiler, "--print-libdir"], stdout=subprocess.PIPE) libdir = chop(p.stdout.read()) -libdir = libdir.rstrip('\r') p.stdout.close -test('5313', extra_run_opts('"' + libdir + '"'), compile_and_run, ['-package ghc']) +test('5313', extra_run_opts('\'' + libdir + '\''), compile_and_run, ['-package ghc']) +# extra_run_opts: be careful about quoting on Windows! test('2464', normal, compile, ['']) test('3674', ignore_output, run_command, _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
