X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=bin%2Fev;h=1681d93c612a211ae6e23c9b0fe99d81bcd3aea9;hb=bf329009f889fe7a431e989ba48171da4c9560ae;hp=554e5dc874778df2d980539088e1d30365475242;hpb=0ef7fd9921eb6018b54793ced6592d15979edbc0;p=eval.git diff --git a/bin/ev b/bin/ev index 554e5dc..1681d93 100755 --- a/bin/ev +++ b/bin/ev @@ -19,8 +19,10 @@ log-init box-init # Compile the program -locate-source $3 -compile || true +if [ $TASK_TYPE != open-data ] ; then + locate-source `if [ -n "$3" ] ; then echo $SDIR/$3 ; fi` + compile || true +fi # Initialize the points file PTSFILE=$TDIR/points @@ -38,6 +40,7 @@ function test-verdict } # Perform the tests +[ -z "$EV_SAMPLE" ] || TESTS="$SAMPLE_TESTS $TESTS" for TEST in $TESTS ; do ( [ -f $PDIR/$TEST.config ] && . $PDIR/$TEST.config