瀏覽代碼

Uncomment debugging stuff. Push spec.

master
Ben Kurtovic 8 年之前
父節點
當前提交
275aeadb65
共有 3 個檔案被更改,包括 4 行新增3 行删除
  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 查看文件

@@ -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 查看文件

@@ -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…
取消
儲存