summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoritz Angermann <moritz.angermann@gmail.com>2021-03-16 10:00:09 +0800
committerMoritz Angermann <moritz.angermann@gmail.com>2021-03-16 10:04:23 +0800
commitb5b51c54a7d6539caa4c3dcb7be52072b4a10775 (patch)
treed3dc17e8a28451810d84fb60cdbf52898b5dfdeb
parent545cfefaa88b31daa2cb3519b7561171e7ca51b3 (diff)
downloadhaskell-wip/angerman/stable-windows.tar.gz
[ci] Skip test's on windows that often fail in CI.wip/angerman/stable-windows
-rw-r--r--libraries/base/tests/all.T3
-rw-r--r--testsuite/tests/rts/all.T9
2 files changed, 10 insertions, 2 deletions
diff --git a/libraries/base/tests/all.T b/libraries/base/tests/all.T
index da828cb2c2..b02d77ef11 100644
--- a/libraries/base/tests/all.T
+++ b/libraries/base/tests/all.T
@@ -175,7 +175,8 @@ test('CatPairs', normal, compile, [''])
test('CatEntail', normal, compile, [''])
# When running with WAY=ghci and profiled ways, T7653 uses a lot of memory.
-test('T7653', omit_ways(prof_ways+['ghci']), compile_and_run, [''])
+test('T7653', [when(opsys('mingw32'), skip),
+ omit_ways(prof_ways+['ghci'])], compile_and_run, [''])
test('T7787', normal, compile_and_run, [''])
test('topHandler01', when(opsys('mingw32'), skip), compile_and_run, [''])
diff --git a/testsuite/tests/rts/all.T b/testsuite/tests/rts/all.T
index 7100aaf3d7..848314928a 100644
--- a/testsuite/tests/rts/all.T
+++ b/testsuite/tests/rts/all.T
@@ -76,7 +76,14 @@ test('divbyzero',
when(opsys('mingw32'), omit_ways(prof_ways))],
compile_and_run, ['-with-rtsopts="--generate-stack-traces=no"'])
-test('outofmem', when(opsys('darwin'), skip),
+test('outofmem', [ when(opsys('darwin'), skip),
+ # this is believed to cause other processes to die
+ # that happen concurrently while the outofmem test
+ # runs in CI. As such we'll need to disable it on
+ # windows, to prevent absolute exhaustion of memory
+ # and subsequent termination (and failure) of unrelated
+ # tests.
+ when(opsys('mingw32'), skip) ],
makefile_test, ['outofmem'])
test('outofmem2', normal, makefile_test, ['outofmem2'])