projects
/
pintos-anon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b595149
)
Only grade mlfqs-speedup and mlfqs-priority if mlfqs-on and mlfqs-off
author
Ben Pfaff
<blp@cs.stanford.edu>
Wed, 5 Jan 2005 08:29:33 +0000
(08:29 +0000)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Wed, 5 Jan 2005 08:29:33 +0000
(08:29 +0000)
were tested.
grading/threads/run-tests
patch
|
blob
|
history
diff --git
a/grading/threads/run-tests
b/grading/threads/run-tests
index 931edb6022bada88172a518e6612c2ca87853ae3..4199d94214f09b9b61348ff487f620937ea39dcd 100755
(executable)
--- a/
grading/threads/run-tests
+++ b/
grading/threads/run-tests
@@
-37,9
+37,11
@@
exit if $action eq 'extract';
build ();
exit if $action eq 'build';
-run_and_grade_tests ();
-grade_mlfqs_speedup ();
-grade_mlfqs_priority ();
+run_and_grade_tests ();
+if (defined ($result{'mlfqs-on'}) && defined ($result{'mlfqs-off'})) {
+ grade_mlfqs_speedup ();
+ grade_mlfqs_priority ();
+}
write_grades ();
write_details ();
exit if $action eq 'test';