diff options
author | Ben Gamari <ben@smart-cactus.org> | 2023-01-26 12:38:02 -0500 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2023-01-27 23:56:42 -0500 |
commit | d0ddc01bbe20c6628b84ac5181a89aca2e99ba97 (patch) | |
tree | 49c1b56cf12b1f84b2599f0dca45e7552033f7a0 | |
parent | ad8cfed4195b1bbfc14b841f010e75e71f63157d (diff) | |
download | haskell-d0ddc01bbe20c6628b84ac5181a89aca2e99ba97.tar.gz |
testsuite: Introduce threaded2_sanity way
Incredibly, we previously did not have a single way which would test the
threaded RTS with multiple capabilities and the sanity-checker enabled.
-rw-r--r-- | testsuite/config/ghc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuite/config/ghc b/testsuite/config/ghc index 85c8b27c9e..1d4ae80695 100644 --- a/testsuite/config/ghc +++ b/testsuite/config/ghc @@ -22,7 +22,7 @@ config.other_ways = ['hpc', 'prof_hc_hb','prof_hb', 'prof_hd','prof_hy','prof_hr', 'sanity', - 'threaded1_ls', 'threaded2_hT', 'debug_numa', + 'threaded1_ls', 'threaded2_hT', 'threaded2_sanity', 'debug_numa', 'llvm', 'debugllvm', 'profllvm', 'profoptllvm', 'profthreadedllvm', 'debug', @@ -99,6 +99,7 @@ config.way_flags = { 'threaded1_ls' : ['-threaded', '-debug'], 'threaded2' : ['-O', '-threaded'], 'threaded2_hT' : ['-O', '-threaded'], + 'threaded2_sanity': ['-O', '-threaded', '-debug'], 'hpc' : ['-O', '-fhpc'], 'prof_hc_hb' : ['-O', '-prof', '-static', '-fprof-auto'], 'prof_hb' : ['-O', '-prof', '-static', '-fprof-auto'], @@ -144,6 +145,7 @@ config.way_rts_flags = { 'threaded1_ls' : ['-ls'], 'threaded2' : ['-N2', '-ls'], 'threaded2_hT' : ['-N2', '-hT'], + 'threaded2_sanity' : ['-N2', '-DS'], 'hpc' : [], 'prof_hc_hb' : ['-hc', '-hbvoid'], 'prof_hb' : ['-hb'], |