diff options
author | Alexis King <lexi.lambda@gmail.com> | 2023-02-20 14:38:21 -0600 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2023-02-23 16:59:22 -0500 |
commit | 8e170f86da9f804b18023a99c7c0add020a42e32 (patch) | |
tree | 5b68b989ce972865ef33fa30dadcbee2537768de /testsuite | |
parent | fb60339fe2c90a5d6fd32cdcde91506324a9bb73 (diff) | |
download | haskell-8e170f86da9f804b18023a99c7c0add020a42e32.tar.gz |
rts: Fix `prompt#` when profiling is enabled
This commit also adds a new -Dk RTS option to the debug RTS to assist
debugging continuation captures. Currently, the printed information is
quite minimal, but more can be added in the future if it proves to be
useful when debugging future issues.
fixes #23001
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/tests/rts/continuations/all.T | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/tests/rts/continuations/all.T b/testsuite/tests/rts/continuations/all.T index e8852416eb..efa2589ee2 100644 --- a/testsuite/tests/rts/continuations/all.T +++ b/testsuite/tests/rts/continuations/all.T @@ -1,4 +1,6 @@ setTestOpts(js_broken(22261)) +if have_profiling(): + setTestOpts(extra_ways(['prof'])) test('cont_simple_shift', [extra_files(['ContIO.hs'])], multimod_compile_and_run, ['cont_simple_shift', '']) test('cont_exn_masking', [extra_files(['ContIO.hs'])], multimod_compile_and_run, ['cont_exn_masking', '']) |