Skip to content

Commit 6b81d7c

Browse files
committed
Disabled threadStatus tests on Windows
See issue #28
1 parent cbd23c7 commit 6b81d7c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

io-sim/test/Test/IOSim.hs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,16 +171,22 @@ tests =
171171
$ withMaxSuccess 1 $ ioProperty prop_thread_status_died
172172
, testProperty "thread status died_own (IOSim)"
173173
$ withMaxSuccess 1 $ runSimOrThrow prop_thread_status_died_own
174+
-- TODO: issue input-output-hk/io-sim#28
175+
#if !defined(mingw32_HOST_OS)
174176
, testProperty "thread status died_own (IO)"
175177
$ withMaxSuccess 1 $ ioProperty prop_thread_status_died_own
178+
#endif
176179
, testProperty "thread status yield (IOSim)"
177180
$ withMaxSuccess 1 $ runSimOrThrow prop_thread_status_yield
178181
, testProperty "thread status yield (IO)"
179182
$ withMaxSuccess 1 $ ioProperty prop_thread_status_yield
180183
, testProperty "thread status mask (IOSim)"
181184
$ withMaxSuccess 1 $ runSimOrThrow prop_thread_status_mask
185+
-- TODO: issue input-output-hk/io-sim#28
186+
#if !defined(mingw32_HOST_OS)
182187
, testProperty "thread status mask (IO)"
183188
$ withMaxSuccess 1 $ ioProperty prop_thread_status_mask
189+
#endif
184190
, testProperty "thread status mask blocked (IOSim)"
185191
$ withMaxSuccess 1 $ runSimOrThrow prop_thread_status_mask_blocked
186192
, testProperty "thread status mask blocked (IO)"

0 commit comments

Comments
 (0)