[commit: ghc] master: Don't run T9330fail on Windows, no clobber occurs. #9930 (5a65da4)

git at git.haskell.org git at git.haskell.org
Sun May 31 06:14:08 UTC 2015


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

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

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

commit 5a65da43559908a42a701b4dbdff682dcdf2e121
Author: Edward Z. Yang <ezyang at cs.stanford.edu>
Date:   Sat May 30 22:40:35 2015 -0700

    Don't run T9330fail on Windows, no clobber occurs. #9930
    
    Signed-off-by: Edward Z. Yang <ezyang at cs.stanford.edu>


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

5a65da43559908a42a701b4dbdff682dcdf2e121
 testsuite/tests/ghc-e/should_fail/all.T | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/testsuite/tests/ghc-e/should_fail/all.T b/testsuite/tests/ghc-e/should_fail/all.T
index 8e080e9..d5400bf 100644
--- a/testsuite/tests/ghc-e/should_fail/all.T
+++ b/testsuite/tests/ghc-e/should_fail/all.T
@@ -18,5 +18,7 @@ test('ghc-e-fail1', [exit_code(2), req_interp, ignore_output], run_command,
 test('ghc-e-fail2', [exit_code(2), req_interp, ignore_output], run_command,
      ['$MAKE --no-print-directory -s ghc-e-fail2'])
 
-test('T9930fail', [exit_code(2), ignore_output], run_command,
+# Don't run on Windows, as executable is written to T9930.exe
+# and no failure is induced.
+test('T9930fail', [exit_code(2), ignore_output, when(opsys('mingw32'), skip)], run_command,
      ['$MAKE --no-print-directory -s T9930fail'])



More information about the ghc-commits mailing list