]> mj.ucw.cz Git - moe.git/blobdiff - bin/ev
Added a couple of debugging hacks (the EV_xxx variables).
[moe.git] / bin / ev
diff --git a/bin/ev b/bin/ev
index eeb5f0099aa15519c8f2a575fcf9fb630e172a9e..8e46028c30d3b50a193575b39a253ac69c19b603 100755 (executable)
--- a/bin/ev
+++ b/bin/ev
@@ -19,7 +19,7 @@ log-init
 box-init
 
 # Compile the program
-locate-source $SDIR/$3
+locate-source `if [ -n "$3" ] ; then echo $SDIR/$3 ; fi`
 compile || true
 
 # Initialize the points file
@@ -38,6 +38,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