[commit: ghc] master: testsuite: fix cgrun051 exit code (2f9a846)

git at git.haskell.org git at git.haskell.org
Sat May 10 02:51:52 UTC 2014


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

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

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

commit 2f9a846848fa673e4fc635feff60598c57fedf8d
Author: Austin Seipp <austin at well-typed.com>
Date:   Fri May 9 20:58:06 2014 -0500

    testsuite: fix cgrun051 exit code
    
    Signed-off-by: Austin Seipp <austin at well-typed.com>


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

2f9a846848fa673e4fc635feff60598c57fedf8d
 testsuite/tests/codeGen/should_run/all.T | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testsuite/tests/codeGen/should_run/all.T b/testsuite/tests/codeGen/should_run/all.T
index 1efe2a6..98328cf 100644
--- a/testsuite/tests/codeGen/should_run/all.T
+++ b/testsuite/tests/codeGen/should_run/all.T
@@ -48,7 +48,7 @@ test('cgrun047', normal, compile_and_run, [''])
 test('cgrun048', normal, compile_and_run, [''])
 test('cgrun049', normal, compile_and_run, ['-funbox-strict-fields'])
 test('cgrun050', normal, compile_and_run, [''])
-test('cgrun051', normal, compile_and_run, [''])
+test('cgrun051', [exit_code(1)], compile_and_run, [''])
 test('cgrun052', only_ways(['optasm']), compile_and_run, ['-funbox-strict-fields'])
 test('cgrun053', normal, compile_and_run, [''])
 test('cgrun054', normal, compile_and_run, [''])



More information about the ghc-commits mailing list