From c1863f2c7be024ee5acb87ae0e5e834183a90b8e Mon Sep 17 00:00:00 2001 From: William Cohen Date: Fri, 28 Jan 2011 16:12:08 -0500 Subject: [PATCH] Ensure systemtap.stress/conversions.exp generates individual errors and warnings PR12168 eliminated duplicated error messages and changed the count of ERROR and WARNING messages. Adding the "-vv" option turns off the duplication eliminate and allows an accurate count of the number of times ERROR and WARNING messages occur. --- testsuite/systemtap.stress/conversions.exp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/testsuite/systemtap.stress/conversions.exp b/testsuite/systemtap.stress/conversions.exp index 27de10c20..06cadd95d 100644 --- a/testsuite/systemtap.stress/conversions.exp +++ b/testsuite/systemtap.stress/conversions.exp @@ -7,7 +7,8 @@ foreach value {0 0xffffffff 0xffffffffffffffff} { if {[istarget ia64-*-*] && $value == 0xffffffffffffffff } { set value 0xafffffffffffffff } set test "conversions.stp $value" if {![installtest_p]} { untested $test; continue } - spawn stap -DMAXERRORS=40 $file $value + # Turn off the duplication elimination to get an accurate count (PR12168) + spawn stap -vv -DMAXERRORS=40 $file $value set errs 0 verbose -log "exp $test $errs" expect { -- 2.43.5