diff options
author | Ben Gamari <ben@smart-cactus.org> | 2019-12-02 12:27:15 -0500 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-12-05 16:07:48 -0500 |
commit | 58a9c4295b9f457ca465415b7017f8e343d54339 (patch) | |
tree | b7bf3b6314a4c14986d91db2cd03eaf57d467545 /testsuite/tests | |
parent | 69001f54279a55bc4e5e5883c675e5ba6fe49a22 (diff) | |
download | haskell-58a9c4295b9f457ca465415b7017f8e343d54339.tar.gz |
testsuite: Disable divByZero on non-NCG targets
The LLVM backend does not guarantee any particular semantics for
division by zero, making this test unreliable across platforms.
Diffstat (limited to 'testsuite/tests')
-rw-r--r-- | testsuite/tests/rts/all.T | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/tests/rts/all.T b/testsuite/tests/rts/all.T index 0bbddfba3e..450ee7c762 100644 --- a/testsuite/tests/rts/all.T +++ b/testsuite/tests/rts/all.T @@ -46,6 +46,10 @@ test('derefnull', test('divbyzero', [# SIGFPE on Linux exit_code(136), + # The LLVM backend in particular does not guarantee any particular + # behavior on division-by-zero (#10332). + omit_ways(llvm_ways), + when(not(have_ncg()), skip), # Apparently the output can be different on different # Linux setups, so just ignore it. As long as we get # the right exit code we're OK. |