Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 319802
b: refs/heads/master
c: 9b1d367
h: refs/heads/master
v: v3
  • Loading branch information
Steven Rostedt authored and Steven Rostedt committed Jul 30, 2012
1 parent 77deb8e commit 9818612
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c1434dcc57f97b0e533dedb8814a76ef13e702b4
refs/heads/master: 9b1d367dbbeb6646f04a8865ecc2bc454f7dd88f
11 changes: 10 additions & 1 deletion trunk/tools/testing/ktest/ktest.pl
Original file line number Diff line number Diff line change
Expand Up @@ -2074,6 +2074,7 @@ sub do_run_test {
my $line;
my $full_line;
my $bug = 0;
my $bug_ignored = 0;

wait_for_monitor 1;

Expand All @@ -2098,7 +2099,11 @@ sub do_run_test {
doprint $line;

if ($full_line =~ /call trace:/i) {
$bug = 1;
if ($ignore_errors) {
$bug_ignored = 1;
} else {
$bug = 1;
}
}

if ($full_line =~ /Kernel panic -/) {
Expand All @@ -2111,6 +2116,10 @@ sub do_run_test {
}
} while (!$child_done && !$bug);

if (!$bug && $bug_ignored) {
doprint "WARNING: Call Trace detected but ignored due to IGNORE_ERRORS=1\n";
}

if ($bug) {
my $failure_start = time;
my $now;
Expand Down

0 comments on commit 9818612

Please sign in to comment.