Pārlūkot izejas kodu

Uncomment debugging stuff. Push spec.

master
Ben Kurtovic pirms 8 gadiem
vecāks
revīzija
275aeadb65
3 mainītis faili ar 4 papildinājumiem un 3 dzēšanām
  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 Parādīt failu

@@ -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 Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt