File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -143,6 +143,9 @@ def create
143143 # As the same runner is used for the score and test run, no parallelization is possible
144144 # A run is triggered from the frontend and does not need to be handled here.
145145 @request_for_comment . submission . calculate_score ( current_user )
146+ @request_for_comment . submission . files . select ( &:user_defined_test? ) . each do |file |
147+ @request_for_comment . submission . test ( file , current_user )
148+ end
146149 rescue Runner ::Error ::RunnerInUse => e
147150 Rails . logger . debug { "Scoring a submission failed because the runner was already in use: #{ e . message } " }
148151 format . json { render json : { error : t ( 'exercises.editor.runner_in_use' ) , status : :runner_in_use } , status : :conflict }
You can’t perform that action at this time.
0 commit comments