Description:
fixed judge craching when some test case is not present git-svn-id: http://theory.cpe.ku.ac.th/grader/judge/trunk/scripts@367 6386c4cd-e34a-4fa8-8920-d93eb39b512e
Commit status:
[Not Reviewed]
References:
Comments:
0 Commit comments 0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
Add another comment

r67:b65f81409564 - - 1 file changed: 2 inserted, 0 deleted

@@ -113,6 +113,7
113 113 end
114 114 (1..(@runs.length-1)).each do |j|
115 115 run = @runs[j]
116 + if run.tests!=nil
116 117 run.tests.each do |t|
117 118 if test_present[t] == false
118 119 test_present[t] = true
@@ -122,6 +123,7
122 123 end
123 124 end
124 125 end
126 + end
125 127 (1..(@num_tests)).each do |i|
126 128 if test_present[i] == false
127 129 puts "test #{i} is not present"
You need to be logged in to leave comments. Login now