X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=t%2Fconfig;h=b84cb73e92bc820d80a382909c3c9e13cd5e3d3a;hb=e1cf6c913f8f8d94c1065d05c00a0dfb934b6828;hp=96ac31e4c11ee469f6c81a42e0c7b714cfd926e1;hpb=a609f96f445c9d27420fa54a13eb7e587f1bd560;p=moe.git diff --git a/t/config b/t/config index 96ac31e..b84cb73 100644 --- a/t/config +++ b/t/config @@ -1,16 +1,20 @@ # HOME set automatically # CONTESTANT set automatically # TASK set automatically + PDIR="${HOME}/problems/${TASK}" SDIR="${HOME}/solutions/${CONTESTANT}/${TASK}" TDIR="${HOME}/testing/${CONTESTANT}/${TASK}" -TASK_TYPE=batch - TESTCASE_IN=${TEST}.in TESTCASE_OUT=${TEST}.out TESTCASE_OK=${TEST}.ok TESTCASE_STATUS=${TEST}.stat +TESTCASE_RAW=${TEST}.raw +# backward compatibility +TESTCASE_PTS=${TEST}.pts + +DEBUG=1 # HOOKS # TESTCASE_HOOKS @@ -131,3 +135,20 @@ TEST_SANDBOX_OPTS=-a2 -f -m$MEM_LIMIT -k$STACK_LIMIT -t$TIME_LIMIT $BOX_EXTRAS $ # Extra options to be overridden in task configuration BOX_EXTRAS= +### Hook priorities: + +# Task pipeline for batch and interactive tasks: +# 100 compile-init +# 150 compile-run +# 190 compile-done +# 200 batch-tests + +# Test pipeline: +# 000 setup copy input and correct output to $TDIR +# 100 prepare copy input and executables to the sandbox +# 200 run run inside the sandbox +# 300 collect copy output out of the sandbox +# 400 filter filter the output ($OUTPUT_FILTER) +# 500 syntax check syntax of the output ($SYNTAX_CHECK) +# 600 judge check correctness of the output ($OUTPUT_CHECK) +# 700 points award $POINTS_PER_TEST points unless already done