Show More
Commit Description:
add option -A <opt> to box. This options allow more argument to be explicitly passed to the program...
Commit Description:
add option -A <opt> to box. This options allow more argument to be explicitly passed to the program We have to use this because if the argument we wish to pass to the program is option (in -? format), box will intepret it as its option and failed accordingly. be noted that, by the definition of getopt, these options will be put after original argument (check the code for more info)
References:
File last commit:
Show/Diff file:
Action:
templates/all_tests.cfg.erb | 20 lines | 510 B | text/plain | TextLexer |
jittat
[grader] [MERGED] Merged new-arch-branch changes 74:105 into the trunk...
r23 problem do
num_tests <%= num_testcases %>
jittat
[grader] import script now support raw with testruns...
r63 full_score <%= num_testruns*10 %>
jittat
[grader] [MERGED] Merged new-arch-branch changes 74:105 into the trunk...
r23 time_limit_each <%= options[:time_limit] %>
mem_limit_each <%= options[:mem_limit] %>
score_each 10
jittat
[grader] import script now support raw with testruns...
r63 <% tr_num = 0 %>
<% testrun_info.each do |testrun| %>
<% tr_num += 1 %>
run <%= tr_num %> do
tests <%= (testrun.collect {|testcase| testcase[0]}).join(", ") %>
<% if testrun.length==1 %>
jittat
[grader] fixed testcase template bug...
r64 scores 10
jittat
[grader] import script now support raw with testruns...
r63 <% else %>
jittat
fixed test run scoring bug: now it takes the minimum of each test case's score...
r66 scores 10 <% (testrun.length-1).times do %>,10 <% end %>
jittat
[grader] import script now support raw with testruns...
r63 <% end %>
jittat
[grader] [MERGED] Merged new-arch-branch changes 74:105 into the trunk...
r23 end
<% end %>
end