From: jkratoch <> Date: Sun, 21 Mar 2010 22:21:23 +0000 (+0000) Subject: Fix wrong $ignore initialization. X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=commitdiff_plain;h=fcc03867351a185028784b15f07849bba08ba198 Fix wrong $ignore initialization. --- diff --git a/bin/diffgdb b/bin/diffgdb index 28fe7ac..02bc94e 100755 --- a/bin/diffgdb +++ b/bin/diffgdb @@ -44,7 +44,7 @@ qr{^.(?:PASS|FAIL): gdb.threads/attachstop-mt.exp: attach3, exit leaves process qr{^.(?:PASS|FAIL): gdb.threads/attachstop-mt.exp: attach4 stop by interrupt(?: \(timeout\))?\n$}o, qr{^.(?:PASS|FAIL): gdb.threads/attachstop-mt.exp: attach4, exit leaves process sleeping\n$}o, qr{^.(?:PASS|FAIL): gdb.threads/manythreads.exp: info threads\n$}o, -qr{gdb version [0-9][^ ]* -nw -nx \n$}o, +qr{gdb version \d\S+ -nw -nx \n$}o, qr{^.(?:PASS|FAIL): gdb.threads/attach-stopped.exp: threaded: attach1, exit leaves process stopped\n$}o, qr{^.(?:PASS|FAIL): gdb.threads/local-watch-wrong-thread.exp: local watchpoint automatically deleted(?: \(timeout\))?\n$}o, qr{^.(?:PASS|FAIL): gdb.server/server-run.exp: continue to main\n$}o, @@ -62,7 +62,7 @@ qr{^.(?:PASS|FAIL): gdb.threads/attachstop-mt.exp: attach1, post-gdb sanity chec qr{^."uplevel #0 source .*gdb/testsuite/gdb.threads/watchthreads-thr.*\.\.\."\n$}o, ); my $ignore=shift @ignore; -$ignore=qr/$ignore|$_/o for @ignore; +$ignore=qr/$ignore|$_/ for @ignore; if ($ARGV[0] eq "-r") { $ignore=undef; @@ -109,7 +109,6 @@ while () { next if /^-FAIL: /; next if /^-KFAIL: /; next if /^-XFAIL: /; - next if /^.# of .*\t\d+\n$/; next if $ignore && /$ignore/o; next if /^[+]FAIL: / && $this->{"+Running"}; next if /^[+]KFAIL: / && $this->{"+Running"};