]> mj.ucw.cz Git - eval.git/blobdiff - examples/problems/sum/config
Basically works.
[eval.git] / examples / problems / sum / config
index 6cd4c6dd7911498915f997726f972ca16da9aa06..9bcc2bc2602e6a3e712fc8e8808b4a923ae790f6 100644 (file)
@@ -1,8 +1,23 @@
 # Per-task config
+# All variables can be overriden in test-specific <test>.config
 
+# A list of all tests
 TESTS="1 2"
+
+# Number of points per test
 POINTS_PER_TEST=1
+
+# List of extra files needed for compilation
 EXTRAS="extras.h"
-TEST_EXTRAS="extras.h"
+
+# Time limit in seconds
 TIME_LIMIT=10
+
+# Memory limit in kilobytes
 MEM_LIMIT=16384
+
+# Command used to check output syntax (optional)
+SYNTAX_CHECK='grep -v -- - $TDIR/$TEST.out'
+
+# Command used to check output correctness
+OUTPUT_CHECK='diff -bBu $TDIR/$TEST.ok $TDIR/$TEST.out'