Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 294657
b: refs/heads/master
c: 6ca996c
h: refs/heads/master
i:
  294655: ea89e9e
v: v3
  • Loading branch information
Steven Rostedt authored and Steven Rostedt committed Mar 21, 2012
1 parent 338697e commit a812d26
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 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: 627977d83ad081c43c9bcd3ad1e89e816a752061
refs/heads/master: 6ca996cc7cee88a6153158455a0ba8e1e79dcd2e
15 changes: 12 additions & 3 deletions trunk/tools/testing/ktest/ktest.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1460,6 +1460,7 @@ sub get_sha1 {
sub monitor {
my $booted = 0;
my $bug = 0;
my $bug_ignored = 0;
my $skip_call_trace = 0;
my $loops;

Expand Down Expand Up @@ -1531,9 +1532,13 @@ sub monitor {
}

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

Expand Down Expand Up @@ -1595,6 +1600,10 @@ sub monitor {
fail "failed - never got a boot prompt." and return 0;
}

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

return 1;
}

Expand Down

0 comments on commit a812d26

Please sign in to comment.