util/guid.py merged into ec.py that is the only one using it
[nepi.git] / all-tests
index 404f82a..5ede05d 100755 (executable)
--- a/all-tests
+++ b/all-tests
 # cannot safely be run together; need to check the nepi exp_ids
 # used more closely
 
+DIRNAME=$(dirname $0)
 COMMAND=$(basename $0)
 
+if echo $COMMAND | grep -q 6; then
+    $DIRNAME/all-tests2; $DIRNAME/all-tests3; exit
+fi
+
 PYTHON=python
 version=2
 echo $COMMAND | grep -q 3 && { PYTHON=python3; version=3; }
@@ -21,6 +26,7 @@ hash=$(git log -n 1 | head -1 | sed -e 's,commit ,,' -e 's,\(........\).*,\1,')
 
 # compute output file name
 output="zz.$hash.py$version"
+latest="zz.latest.py$version"
 
 # if there is any pending change, use another name
 is_pristine=""
@@ -54,6 +60,9 @@ function all_tests () {
 # the current code for analyzing the output is very basic
 # this needs to be checked manually for some time
 
+# create a 'latest' symlink
+ln -f -s $output $latest
+
 all_tests >& $output
 retcod=$?