summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanjit Bhat <[email protected]>2023-09-13 16:14:41 -0400
committerSanjit Bhat <[email protected]>2023-09-13 16:14:41 -0400
commit217952ff163928ed37ced7259b6cab88b5c5744a (patch)
treebd0f64033bab60c15ac8c050b69cd165b62ac40c
parent87470490676ee6dc087e3ebe2a3ce3cfbd4afbd9 (diff)
downloadxv6-labs-217952ff163928ed37ced7259b6cab88b5c5744a.tar.gz
xv6-labs-217952ff163928ed37ced7259b6cab88b5c5744a.tar.bz2
xv6-labs-217952ff163928ed37ced7259b6cab88b5c5744a.zip
revert answers
-rwxr-xr-xgrade-lab-thread5
1 files changed, 5 insertions, 0 deletions
diff --git a/grade-lab-thread b/grade-lab-thread
index e43d7c6..18df65f 100755
--- a/grade-lab-thread
+++ b/grade-lab-thread
@@ -19,6 +19,11 @@ def test_uthread():
if not re.findall('\n'.join(expected), r.qemu.output, re.M):
raise AssertionError('Output does not match expected output')
+@test(5, "answers-thread.txt")
+def test_answers():
+ # just a simple sanity check, will be graded manually
+ check_answers("answers-thread.txt")
+
# test the first ph task: add locks to eliminate the missing keys.
@test(10, "ph_safe")
def test_ph_safe():