projects
/
pintos-anon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
aee261b
)
Don't print output for triple faults.
author
Ben Pfaff
<blp@cs.stanford.edu>
Mon, 20 Jun 2005 22:55:59 +0000
(22:55 +0000)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Mon, 20 Jun 2005 22:55:59 +0000
(22:55 +0000)
src/tests/tests.pm
patch
|
blob
|
history
diff --git
a/src/tests/tests.pm
b/src/tests/tests.pm
index 3c5574122ea14014793b894930796dea353b95ef..2e3642c664a0449217d0ad7058537e7c389233f0 100644
(file)
--- a/
src/tests/tests.pm
+++ b/
src/tests/tests.pm
@@
-80,12
+80,6
@@
sub check_for_keyword {
$kw_line =~ s/^\([^\)]+\)\s+//;
print "$kw_line\n";
$kw_line =~ s/^\([^\)]+\)\s+//;
print "$kw_line\n";
- # Append output, eliminating uninteresting header and trailer info
- # if possible.
- my (@core) = get_core_output (@output);
- @output = @core if @core;
- print "Program output:\n\n" . join ('', map ("$_\n", @output));
-
fail;
}
fail;
}
@@
-96,18
+90,9
@@
sub check_for_triple_fault {
print <<EOF;
Pintos spontaneously rebooted during this test.
print <<EOF;
Pintos spontaneously rebooted during this test.
-This is most often caused by unhandled page faults. Output from
-initial boot through the first reboot is shown below:
-
+This is most often caused by unhandled page faults.
EOF
EOF
- my ($i) = 0;
- local ($_);
- for (@output) {
- print " $_\n";
- last if /Pintos booting/ && ++$i > 1;
- }
-
fail;
}
fail;
}