]> mj.ucw.cz Git - eval.git/blobdiff - config
Basically works.
[eval.git] / config
diff --git a/config b/config
index 74cfee52ecd7e59f3ccb9bf162451a349715a611..edc6da2a3023c021845404b5545d1d4d99190386 100644 (file)
--- a/config
+++ b/config
@@ -7,11 +7,27 @@ EVAL_USER=mo-eval
 EVAL_GROUP=mo-eval
 TEST_USERS="mo-test1 mo-test2"
 
-# Compilation commands
-COMP_C='/usr/bin/gcc -o $EXE $SRC'
-COMP_CXX='/usr/bin/g++ -o $EXE $SRC'
-COMP_P='/usr/bin/fpc -o $EXE $SRC'
-COMP_SANDBOX_OPTS='-c$BOXDIR -m65536 -t60 -w -e'
-
-# Testing commands
-TEST_SANDBOX_OPTS='-a2 -c$BOXDIR -f -m$MEM_LIMIT -t$TIME_LIMIT -w'
+# Currently used test user
+TEST_USER=mo-eval
+
+### all of the following variables can be overriden in per-task config file
+
+# Known source file extensions
+EXTENSIONS="c C cpp p pas"
+
+# For each source extension, we must give compiler command
+COMP_c='/usr/bin/gcc -o $EXE $SRC'
+COMP_C='/usr/bin/g++ -o $EXE $SRC'
+COMP_cpp="$COMP_C"
+COMP_p='/usr/bin/fpc -o $EXE $SRC'
+COMP_pas="$COMP_p"
+
+# Sandbox options used when compiling
+COMP_SANDBOX_OPTS='-m65536 -t60 -w -e'
+
+# Shell command used to run the tests
+TEST_RUN_METHOD="test-run-with-files"
+
+# Sandbox options used when testing
+TEST_SANDBOX_OPTS='-a2 -f -m$MEM_LIMIT -t$TIME_LIMIT -w'
+# For stdio tasks append '-i$PROBLEM.in -o$PROBLEM.out'