Skip this test on Xen, as it is known to fail, presumably because Xen is not able to account virtual CPU time with same accuracy as on the real CPU.
Signed-off-by: Jan Stancek <[email protected]> --- testcases/kernel/syscalls/getrusage/getrusage04.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/testcases/kernel/syscalls/getrusage/getrusage04.c b/testcases/kernel/syscalls/getrusage/getrusage04.c index 96e24a4..fa5fe2d 100644 --- a/testcases/kernel/syscalls/getrusage/getrusage04.c +++ b/testcases/kernel/syscalls/getrusage/getrusage04.c @@ -205,6 +205,9 @@ static void setup(void) { tst_sig(NOFORK, DEF_HANDLER, cleanup); + if (tst_is_virt(VIRT_XEN)) + tst_brkm(TCONF, NULL, "This testcase is not supported on Xen."); + BIAS_MAX = guess_timer_resolution(); TEST_PAUSE; -- 1.7.1 ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
