Description:
[grader] added check_wrapper information
git-svn-id: http://theory.cpe.ku.ac.th/grader/judge/trunk/scripts@112 6386c4cd-e34a-4fa8-8920-d93eb39b512e
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r29:61899069ea19 - - 1 file changed: 6 inserted, 2 deleted
@@ -45,8 +45,9 | |||||
|
45 | dir = importing testcase directory |
|
45 | dir = importing testcase directory |
|
46 | num = number of testcases |
|
46 | num = number of testcases |
|
47 | check = check script, which can be |
|
47 | check = check script, which can be |
|
48 | - integer, text (for standard script), |
|
48 | + 'integer', 'text' (for standard script), |
|
49 |
- |
|
49 | + path_to_your_script, or |
|
|
50 | + 'wrapper:(path_to_your_wrapped_script)' | ||
|
50 | options: -t time-limit (in seconds) |
|
51 | options: -t time-limit (in seconds) |
|
51 | -m memory-limit (in megabytes) |
|
52 | -m memory-limit (in megabytes) |
|
52 | What it does: |
|
53 | What it does: |
@@ -54,6 +55,9 | |||||
|
54 | * copies testdata in the old format and create standard testcase config file |
|
55 | * copies testdata in the old format and create standard testcase config file |
|
55 | * copies a check script for grading |
|
56 | * copies a check script for grading |
|
56 | * creates a test_request template in the current directory + '/test_request' |
|
57 | * creates a test_request template in the current directory + '/test_request' |
|
|
58 | + | ||
|
|
59 | + For wrapped checked script see comment in templates/check_wrapper for | ||
|
|
60 | + information. | ||
|
57 | USAGE |
|
61 | USAGE |
|
58 | exit(127) |
|
62 | exit(127) |
|
59 | end |
|
63 | end |
You need to be logged in to leave comments.
Login now