Browse Source

Uncomment debugging stuff. Push spec.

master
Ben Kurtovic 8 years ago
parent
commit
275aeadb65
3 changed files with 4 additions and 3 deletions
  1. +1
    -0
      lib/kgrader/runtime.rb
  2. +2
    -2
      lib/kgrader/submission.rb
  3. +1
    -1
      spec/cs241h

+ 1
- 0
lib/kgrader/runtime.rb View File

@@ -22,6 +22,7 @@ module KGrader
def grade(score)
IO.new(3).write score
puts " done ".center MAX_COLS, '-'
puts
exit
end



+ 2
- 2
lib/kgrader/submission.rb View File

@@ -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



+ 1
- 1
spec/cs241h

@@ -1 +1 @@
Subproject commit 24d9363c329e1993c847894a1f8b1c4ef79c01db
Subproject commit 5522f76d05e8604cc9326db48f244036a1ac1d21

Loading…
Cancel
Save