testsuite: Mark T9405 as broken on Windows
authorBen Gamari <ben@well-typed.com>
Sun, 16 Oct 2016 02:53:06 +0000 (02:53 +0000)
committerBen Gamari <ben@smart-cactus.org>
Mon, 17 Oct 2016 18:33:29 +0000 (14:33 -0400)
There seems to be a runtime system bug here, as described in #12714.

testsuite/tests/rts/Makefile
testsuite/tests/rts/all.T

index 94f38fa..a6d2482 100644 (file)
@@ -52,7 +52,9 @@ T9405:
     sleep 0.2; \
     kill -2 $$!; \
     wait $$!; \
-    [ -s T9405.ticky ] && echo Ticky-Ticky
+    [ -e T9405.ticky ] || echo "Error: Ticky profile doesn't exist"; \
+    [ -s T9405.ticky ] || echo "Error: Ticky profile is empty"; \
+    echo Ticky-Ticky;
 
 # Naming convention: 'T5423_' obj-way '_' obj-src
 # obj-way ::= v | dyn
index fc37f8d..1c13b97 100644 (file)
@@ -357,7 +357,7 @@ test('T10904', [ omit_ways(['ghci']), extra_run_opts('20000') ],
 test('T10728', [extra_run_opts('+RTS -maxN3 -RTS'), only_ways(['threaded2'])],
                compile_and_run, [''])
 
-test('T9405', [extra_clean(['T9405.ticky'])],
+test('T9405', [extra_clean(['T9405.ticky']), when(msys(), expect_broken(12714))],
               run_command, ['$MAKE -s --no-print-directory T9405'])
 
 test('T11788', when(ghc_dynamic(), skip),