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:
config/env_test.rb.SAMPLE | 29 lines | 844 B | text/plain | TextLexer |
jittat
[grader] [MERGED] Merged new-arch-branch changes 74:105 into the trunk...
r23 #
# See documentation in lib/configuration.rb
#
jittat
Merged new-arch-branch changes 61:73 into the trunk...
r22 Grader::Initializer.run do |config|
jittat
[grader] [MERGED] Merged new-arch-branch changes 74:105 into the trunk...
r23 config.problems_dir = GRADER_ROOT + "/test/sandbox/ev"
config.user_result_dir = GRADER_ROOT + "/test/sandbox/result"
jittat
Merged new-arch-branch changes 61:73 into the trunk...
r22
jittat
[grader] [MERGED] Merged new-arch-branch changes 74:105 into the trunk...
r23 config.talkative = false
jittat
Merged new-arch-branch changes 61:73 into the trunk...
r22
config.report_grader = false
config.rails_env = 'test'
jittat
[grader] [MERGED] Merged new-arch-branch changes 74:105 into the trunk...
r23 config.comment_report_style = :full
jittat
Merged new-arch-branch changes 61:73 into the trunk...
r22
jittat
[grader] [MERGED] Merged new-arch-branch changes 74:105 into the trunk...
r23 config.test_request_input_base_dir = GRADER_ROOT + "/test/data/test_request/input"
config.test_request_output_base_dir = GRADER_ROOT + "/test/sandbox/test_request/output"
config.test_request_problem_templates_dir = GRADER_ROOT + "/test/data/test_request/problems"
#
# These options are for testing
#
jittat
Merged new-arch-branch changes 61:73 into the trunk...
r22 class << config
attr_accessor :test_data_dir, :test_sandbox_dir
end
jittat
[grader] [MERGED] Merged new-arch-branch changes 74:105 into the trunk...
r23 config.test_data_dir = GRADER_ROOT + "/test/data"
config.test_sandbox_dir = GRADER_ROOT + "/test/sandbox"
jittat
Merged new-arch-branch changes 61:73 into the trunk...
r22 end