Skip eventlog tests in GHCi way
authorÖmer Sinan Ağacan <omeragacan@gmail.com>
Wed, 5 Sep 2018 11:11:30 +0000 (13:11 +0200)
committerKrzysztof Gogolewski <krz.gogolewski@gmail.com>
Wed, 5 Sep 2018 11:11:30 +0000 (13:11 +0200)
Summary: (GHCi doesn't generate event logs)

Test Plan:
These tests were failing in GHCi way, they're now skipped in GHCi way as GHCi
doesn't generate eventlogs

Reviewers: bgamari, simonmar, maoe, alpmestan

Reviewed By: alpmestan

Subscribers: rwbarton, carter

GHC Trac Issues: #15587

Differential Revision: https://phabricator.haskell.org/D5119

testsuite/tests/rts/all.T

index d68722d..6e1d90d 100644 (file)
@@ -135,11 +135,11 @@ test('T2615',
 
 # omit dyn and profiling ways, because we don't build dyn_l or p_l
 # variants of the RTS by default
-test('traceEvent', [ omit_ways(['dyn'] + prof_ways),
+test('traceEvent', [ omit_ways(['dyn', 'ghci'] + prof_ways),
                      extra_run_opts('+RTS -ls -RTS') ],
                    compile_and_run, ['-eventlog'])
 
-test('traceBinaryEvent', [ omit_ways(['dyn'] + prof_ways),
+test('traceBinaryEvent', [ omit_ways(['dyn', 'ghci'] + prof_ways),
                            extra_run_opts('+RTS -ls -RTS') ],
                          compile_and_run, ['-eventlog'])