Don't run T9330fail on Windows, no clobber occurs. #9930
authorEdward Z. Yang <ezyang@cs.stanford.edu>
Sun, 31 May 2015 05:40:35 +0000 (22:40 -0700)
committerEdward Z. Yang <ezyang@cs.stanford.edu>
Sun, 31 May 2015 05:40:35 +0000 (22:40 -0700)
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
testsuite/tests/ghc-e/should_fail/all.T

index 8e080e9..d5400bf 100644 (file)
@@ -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'])