]> sourceware.org Git - systemtap.git/commitdiff
Ensure systemtap.stress/conversions.exp generates individual errors and warnings
authorWilliam Cohen <wcohen@redhat.com>
Fri, 28 Jan 2011 21:12:08 +0000 (16:12 -0500)
committerWilliam Cohen <wcohen@redhat.com>
Fri, 28 Jan 2011 21:12:08 +0000 (16:12 -0500)
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

index 27de10c20320df86afe265a22ff6397e8cd4e85e..06cadd95da5e730b243a470b94bf19841f06b3e7 100644 (file)
@@ -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 {
This page took 0.029559 seconds and 5 git commands to generate.