From 275aeadb6516cd5490767e829963764824806372 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Fri, 22 Apr 2016 01:59:39 -0500 Subject: [PATCH] Uncomment debugging stuff. Push spec. --- lib/kgrader/runtime.rb | 1 + lib/kgrader/submission.rb | 4 ++-- spec/cs241h | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/kgrader/runtime.rb b/lib/kgrader/runtime.rb index 1d41977..2943ab3 100644 --- a/lib/kgrader/runtime.rb +++ b/lib/kgrader/runtime.rb @@ -22,6 +22,7 @@ module KGrader def grade(score) IO.new(3).write score puts " done ".center MAX_COLS, '-' + puts exit end diff --git a/lib/kgrader/submission.rb b/lib/kgrader/submission.rb index 921c890..6e5fc7d 100644 --- a/lib/kgrader/submission.rb +++ b/lib/kgrader/submission.rb @@ -150,8 +150,8 @@ module KGrader end def grade_post - # self.status = :graded # TODO: uncomment - # @fs.jail.reset # TODO: uncomment + self.status = :graded + @fs.jail.reset @summary = generate_summary unless @summary end diff --git a/spec/cs241h b/spec/cs241h index 24d9363..5522f76 160000 --- a/spec/cs241h +++ b/spec/cs241h @@ -1 +1 @@ -Subproject commit 24d9363c329e1993c847894a1f8b1c4ef79c01db +Subproject commit 5522f76d05e8604cc9326db48f244036a1ac1d21