Commit 661aa07e authored by thomie's avatar thomie
Browse files

Testsuite: failing profiling tests (#10037)

These tests fail not only for WAY=prof, but also for WAY=profllvm.
parent 176be87c
......@@ -19,6 +19,10 @@ setTestOpts(keep_prof_callstacks)
extra_prof_ways = ['prof', 'prof_hc_hb', 'prof_hb', 'prof_hd', 'prof_hy', 'prof_hr']
expect_broken_for_10037 = expect_broken_for(
[w for w in prof_ways if w not in opt_ways]) # e.g. prof and profllvm
[when(have_profiling(), extra_ways(extra_prof_ways)), extra_run_opts('7')],
compile_and_run, [''])
......@@ -35,7 +39,7 @@ test('T3001-2', [only_ways(['prof_hb']), extra_ways(['prof_hb'])],
# As with ioprof001, the unoptimised profile is different but
# not badly wrong (CAF attribution is different).
test('scc001', [expect_broken_for(10037, ['prof'])], compile_and_run,
test('scc001', [expect_broken_for_10037], compile_and_run,
['-fno-state-hack -fno-full-laziness']) # Note [consistent stacks]
test('scc002', [], compile_and_run, [''])
......@@ -56,15 +60,14 @@ test('T5314', [extra_ways(extra_prof_ways)], compile_and_run, [''])
test('T680', [], compile_and_run,
['-fno-full-laziness']) # Note [consistent stacks]
test('T2552', [expect_broken_for(10037, opt_ways)], compile_and_run, [''])
test('T2552', [expect_broken_for_10037], compile_and_run, [''])
test('T949', [extra_ways(extra_prof_ways)], compile_and_run, [''])
# The results for 'prof' are fine, but the ordering changes.
# We care more about getting the optimised results right, so ignoring
# this for now.
test('ioprof', [expect_broken_for(10037, ['prof']), exit_code(1)],
test('ioprof', [expect_broken_for_10037, exit_code(1)], compile_and_run,
['-fno-full-laziness -fno-state-hack']) # Note [consistent stacks]
# These two examples are from the User's Guide:
......@@ -84,7 +87,7 @@ test('T5559', [], compile_and_run, [''])
# -fno-state-hack
# -fno-full-laziness
test('callstack001', [expect_broken_for(10037, ['prof'])],
test('callstack001', [expect_broken_for_10037],
# unoptimised results are different w.r.t. CAF attribution
compile_and_run, ['-fprof-auto-calls -fno-full-laziness -fno-state-hack'])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment