Show More
Commit Description:
Merged new-arch-branch changes 61:73 into the trunk...
Commit Description:
Merged new-arch-branch changes 61:73 into the trunk
git-svn-id: http://theory.cpe.ku.ac.th/grader/judge/trunk/scripts@74 6386c4cd-e34a-4fa8-8920-d93eb39b512e
References:
File last commit:
Show/Diff file:
Action:
config/env_test.rb.SAMPLE
| 25 lines
| 573 B
| text/plain
| TextLexer
|
|
r22 | |||
Grader::Initializer.run do |config| | ||||
config.problems_dir = "/home/jittat/grader/scripts/test/sandbox/ev" | ||||
config.user_result_dir = "/home/jittat/grader/scripts/test/sandbox/result" | ||||
config.talkative = true | ||||
config.report_grader = false | ||||
config.rails_env = 'test' | ||||
config.report_comment = lambda do |comment| | ||||
comment.chomp | ||||
end | ||||
class << config | ||||
attr_accessor :test_data_dir, :test_sandbox_dir | ||||
end | ||||
config.test_data_dir = "/home/jittat/grader/scripts/test/data" | ||||
config.test_sandbox_dir = "/home/jittat/grader/scripts/test/sandbox" | ||||
end | ||||