50 lines
1.4 KiB
TOML
50 lines
1.4 KiB
TOML
# general task configuration
|
|
task.name = "hw7 ex2" # task name
|
|
task.type = "homework/h7/e2" # remove this task type later
|
|
|
|
release.deadline = 2024-12-30 23:59:59+08:00
|
|
release.begin_time = 2024-12-29 23:59:59+08:00
|
|
|
|
[[stages]]
|
|
name = "Compilation"
|
|
command = "./tools/compile" # eg. script running cmake commands
|
|
files.import = [ "tools/compile" ]
|
|
files.export = [ "h7/build/ex2", "h7/build/ex2-asan", "h7/build/ex2-ubsan", "h7/build/ex2-msan", "h7/build/compile_commands.json" ]
|
|
score = 1
|
|
|
|
# compile parsers
|
|
parsers = [ "result-detail", "result-status" ]
|
|
result-status.comment = "Congratulations! Your code compiled successfully."
|
|
result-detail.exitstatus = true
|
|
result-detail.stderr = true
|
|
result-detail.time = false
|
|
result-detail.mem = false
|
|
result-status.forcequit = true
|
|
|
|
[[stages]]
|
|
name = "[joj] ex2-asan"
|
|
command="./h7/build/ex2-asan -a"
|
|
files.import = [ "h7/build/ex2-asan" ]
|
|
limit.mem = 91224961
|
|
|
|
parsers = [ "diff", "result-detail" ]
|
|
result-detail.exitstatus = true
|
|
result-detail.stderr = true
|
|
|
|
# will be removed as long as the name is fixed
|
|
case0.diff.output.score = 5
|
|
case0.limit.cpu = 1
|
|
case0.limit.mem = 91224961
|
|
case0.diff.output.ignorespaces = true
|
|
#case0.limit.stdout = 8
|
|
#case0.command = "./h7/build/ex2"
|
|
case0.in = "case0.in"
|
|
|
|
case1.diff.output.score = 5
|
|
case1.limit.cpu = 1
|
|
case1.limit.mem = 91224961
|
|
case1.diff.output.ignorespaces = true
|
|
#case1.limit.stdout = 8
|
|
#case1.command = "./h7/build/ex2"
|
|
case1.in = "case1.in"
|