projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
When running a "test" or "assemble" target, run-tests now returns zero
[pintos-anon]
/
grading
/
vm
/
run-tests
diff --git
a/grading/vm/run-tests
b/grading/vm/run-tests
index 5aa8a44644ee1faa5093ce625907ab4125238ac9..8f9e635db421bcc0c9e1b7492a9f563a7c3d63ee 100755
(executable)
--- a/
grading/vm/run-tests
+++ b/
grading/vm/run-tests
@@
-24,9
+24,6
@@
parse_cmd_line qw (pt-grow-stack pt-big-stk-obj pt-bad-addr pt-write-code
page-shuffle mmap-read mmap-close mmap-unmap mmap-overlap
mmap-twice mmap-write mmap-exit mmap-shuffle);
page-shuffle mmap-read mmap-close mmap-unmap mmap-overlap
mmap-twice mmap-write mmap-exit mmap-shuffle);
-# Default set of tests.
-@TESTS = unless @TESTS > 0;
-
clean_dir (), exit if $action eq 'clean';
extract_sources ();
clean_dir (), exit if $action eq 'clean';
extract_sources ();
@@
-38,10
+35,10
@@
exit if $action eq 'build';
run_and_grade_tests ();
write_grades ();
write_details ();
run_and_grade_tests ();
write_grades ();
write_details ();
-exit if $action eq 'test';
+exit
success ()
if $action eq 'test';
assemble_final_grade ();
assemble_final_grade ();
-exit if $action eq 'assemble';
+exit
success ()
if $action eq 'assemble';
die "Don't know how to '$action'";
die "Don't know how to '$action'";