From 6ee4d476c68339c4d9cda19e8d950a1738df5a27 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Tue, 18 Sep 2018 22:55:45 +0200 Subject: [PATCH] Run power_ISA2_0[57] tests with -q memcheck/tests/ppc64/power_ISA2_0[57] could spuriously fail when some internal glibc function would allocate and free some memory. To get the expected output run the tests with -q and clear stderr.exp. --- memcheck/tests/ppc64/power_ISA2_05.stderr.exp | 10 ---------- memcheck/tests/ppc64/power_ISA2_05.vgtest | 2 +- memcheck/tests/ppc64/power_ISA2_07.stderr.exp | 10 ---------- memcheck/tests/ppc64/power_ISA2_07.vgtest | 2 +- 4 files changed, 2 insertions(+), 22 deletions(-) diff --git a/memcheck/tests/ppc64/power_ISA2_05.stderr.exp b/memcheck/tests/ppc64/power_ISA2_05.stderr.exp index c22dd7f4c0..e69de29bb2 100644 --- a/memcheck/tests/ppc64/power_ISA2_05.stderr.exp +++ b/memcheck/tests/ppc64/power_ISA2_05.stderr.exp @@ -1,10 +0,0 @@ - - -HEAP SUMMARY: - in use at exit: 0 bytes in 0 blocks - total heap usage: 0 allocs, 0 frees, 0 bytes allocated - -For a detailed leak analysis, rerun with: --leak-check=full - -For counts of detected and suppressed errors, rerun with: -v -ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/ppc64/power_ISA2_05.vgtest b/memcheck/tests/ppc64/power_ISA2_05.vgtest index 0279ccc258..64df84a584 100644 --- a/memcheck/tests/ppc64/power_ISA2_05.vgtest +++ b/memcheck/tests/ppc64/power_ISA2_05.vgtest @@ -1,3 +1,3 @@ prog: power_ISA2_05 ## depricated option --workaround-gcc296-bugs=yes -vgopts: --ignore-range-below-sp=1024-1 +vgopts: -q --ignore-range-below-sp=1024-1 diff --git a/memcheck/tests/ppc64/power_ISA2_07.stderr.exp b/memcheck/tests/ppc64/power_ISA2_07.stderr.exp index c22dd7f4c0..e69de29bb2 100644 --- a/memcheck/tests/ppc64/power_ISA2_07.stderr.exp +++ b/memcheck/tests/ppc64/power_ISA2_07.stderr.exp @@ -1,10 +0,0 @@ - - -HEAP SUMMARY: - in use at exit: 0 bytes in 0 blocks - total heap usage: 0 allocs, 0 frees, 0 bytes allocated - -For a detailed leak analysis, rerun with: --leak-check=full - -For counts of detected and suppressed errors, rerun with: -v -ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/ppc64/power_ISA2_07.vgtest b/memcheck/tests/ppc64/power_ISA2_07.vgtest index fa34a1e153..fa6e5e2e6c 100644 --- a/memcheck/tests/ppc64/power_ISA2_07.vgtest +++ b/memcheck/tests/ppc64/power_ISA2_07.vgtest @@ -1,3 +1,3 @@ prereq: ../../../tests/check_ppc64_auxv_cap arch_2_07 prog: power_ISA2_07 -vgopts: +vgopts: -q -- 2.47.2