diff options
author | GHC GitLab CI <ghc-ci@gitlab-haskell.org> | 2020-09-18 17:01:09 -0400 |
---|---|---|
committer | GHC GitLab CI <ghc-ci@gitlab-haskell.org> | 2020-09-18 17:16:06 -0400 |
commit | d4d61d2f72bdd4bc317a2b33bbe5411c9d42428b (patch) | |
tree | fdd610ceb5c1e1548f7658b1fa33bc15cb33947b | |
parent | 1ead0a278f42b445f51a4590426bf96f6f700164 (diff) | |
download | haskell-d4d61d2f72bdd4bc317a2b33bbe5411c9d42428b.tar.gz |
testsuite: Mark tempfiles as broken on Win32 without WinIO
The old POSIX emulation appears to ignore the user-requested prefix.
-rw-r--r-- | libraries/base/tests/all.T | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libraries/base/tests/all.T b/libraries/base/tests/all.T index 0a808fa42b..29146204f2 100644 --- a/libraries/base/tests/all.T +++ b/libraries/base/tests/all.T @@ -17,7 +17,10 @@ test('readFloat', exit_code(1), compile_and_run, ['']) test('enumDouble', normal, compile_and_run, ['']) test('enumRatio', normal, compile_and_run, ['']) test('enumNumeric', normal, compile_and_run, ['']) -test('tempfiles', normal, compile_and_run, ['']) +# N.B. the tempfile format is slightly different than this test expects on +# Windows *except* if using WinIO. The `when` clause below can be removed +# after WinIO becomes the default. +test('tempfiles', when(opsys('mingw32'), only_ways(['winio'])), compile_and_run, ['']) test('fixed', normal, compile_and_run, ['']) test('quotOverflow', normal, compile_and_run, ['']) test('assert', exit_code(1), compile_and_run, ['-fno-ignore-asserts']) |