Commit 3b9bde40 authored by Michael Ellerman's avatar Michael Ellerman
Browse files

selftests/powerpc: Lower run time of count_stcx_fail test



The count_stcx_fail test runs for close to or just over 2 minutes, which
means it sometimes times out.

That's overkill for a test that just demonstrates some PMU counters
are working. Drop the 64 billion instruction case, to lower the runtime
to ~30s.

Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://patch.msgid.link/20241106130453.1741013-1-mpe@ellerman.id.au
parent da6ffe85
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -144,9 +144,6 @@ static int test_body(void)
	/* Run for 16Bi instructions */
	FAIL_IF(do_count_loop(events, 16000000000, overhead, true));

	/* Run for 64Bi instructions */
	FAIL_IF(do_count_loop(events, 64000000000, overhead, true));

	event_close(&events[0]);
	event_close(&events[1]);