]> mj.ucw.cz Git - eval.git/commitdiff
Multiple sample inputs allowed.
authorMartin Mares <mj@ucw.cz>
Fri, 6 Apr 2001 11:13:00 +0000 (11:13 +0000)
committerMartin Mares <mj@ucw.cz>
Fri, 6 Apr 2001 11:13:00 +0000 (11:13 +0000)
TODO
bin/profile
public/check
public/submit

diff --git a/TODO b/TODO
index b748cf713dae92fbb711b314046a26ff8a3f1586..4fec160b92325f796ac100abcd2d0730bfa989e1 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,2 +1,3 @@
 -static ?
 multiple check inputs?
+mo-install: don't copy private test data to public
index e55842a6c92098279e1554ebb88c7aba2c17b94f..27144b52edfb015cf009ecf6e4e4028e87f61e45 100644 (file)
@@ -5,8 +5,7 @@ PATH="$PATH:~/bin"
 #echo -n "User to use for testing: "
 #read TEST_USER
 
-# FIXME
-#echo "Setting TEST_USER=mo-test1"
-#TEST_USER=mo-test1
+echo "Setting TEST_USER=mo-test1"
+TEST_USER=mo-test1
 
 export TEST_USER
index 37fce3035e7a64712aa3305c3ade81f341a42420..fee56b67666d2cce99a791eae322de66eb539bba 100644 (file)
@@ -12,9 +12,10 @@ public-setup
 . $PDIR/config
 locate-source
 compile
-TEST=$SAMPLE_TEST
 PTSFILE=$TDIR/points
-pstart "Checking on sample input: "
-test-run
-syntax-check
-pend "OK"
+for TEST in $SAMPLE_TESTS ; do
+       pstart "Checking on sample input $TEST: "
+       test-run
+       syntax-check
+       pend "OK"
+done
index 15dd21742e9428c932c3cf0862d4fb088d9985c8..837d43cc34a624eaf99a99994976fcd67201585f 100644 (file)
@@ -12,12 +12,13 @@ public-setup
 . $PDIR/config
 locate-source
 compile
-TEST=$SAMPLE_TEST
 PTSFILE=$TDIR/points
-pstart "Checking on sample input: "
-test-run
-syntax-check
-pend "OK"
+for TEST in $SAMPLE_TESTS ; do
+       pstart "Checking on sample input $TEST: "
+       test-run
+       syntax-check
+       pend "OK"
+done
 pstart "Submiting: "
 mkdir -p ~/.submit/$PROBLEM
 rm -rf ~/.submit/$PROBLEM/*