projects
/
pintos-anon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b18b7d
)
Don't print recursive reboots.
author
Ben Pfaff
<blp@cs.stanford.edu>
Mon, 20 Jun 2005 22:55:36 +0000
(22:55 +0000)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Mon, 20 Jun 2005 22:55:36 +0000
(22:55 +0000)
src/tests/make-grade
patch
|
blob
|
history
diff --git
a/src/tests/make-grade
b/src/tests/make-grade
index e6c4b9cdaad627eec2f2ab46612f7b3c43b987ce..23f6ec32d7a9aa4aa9594fb6cf3f62af01af33d8 100755
(executable)
--- a/
src/tests/make-grade
+++ b/
src/tests/make-grade
@@
-132,13
+132,17
@@
for my $test (@failures) {
if (open (OUTPUT, '<', "$test.output")) {
print "\nOUTPUT FROM $test:\n\n";
- my ($panics
) = 0
;
+ my ($panics
, $boots) = (0, 0)
;
while (<OUTPUT>) {
if (/PANIC/ && ++$panics > 2) {
print "[...details of additional panic(s) omitted...]\n";
last;
}
print;
+ if (/Pintos booting/ && ++$boots > 1) {
+ print "[...details of reboot(s) omitted...]\n";
+ last;
+ }
}
close (OUTPUT);
}