tests: prexif xml packages with 'tests..'
authorJean Privat <jean@pryen.org>
Fri, 26 Sep 2014 00:19:55 +0000 (20:19 -0400)
committerJean Privat <jean@pryen.org>
Fri, 26 Sep 2014 00:27:33 +0000 (20:27 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

tests/tests.sh

index 6455466..74b4a9b 100755 (executable)
@@ -397,7 +397,7 @@ for ii in "$@"; do
        fi
        f=`basename "$ii" .nit`
 
-       pack=`echo $ii | perl -p -e 's|^../([^/]*)/([a-zA-Z_]*).*|\1.\2| || s|^([a-zA-Z]*)[^_]*_([a-zA-Z]*).*|\1.\2| || s|\W*([a-zA-Z_]*).*|\1|'`
+       pack="tests.${engine}".`echo $ii | perl -p -e 's|^../([^/]*)/([a-zA-Z_]*).*|\1.\2| || s|^([a-zA-Z]*)[^_]*_([a-zA-Z]*).*|\1.\2| || s|\W*([a-zA-Z_]*).*|\1|'`
 
        # Sould we skip the file for this engine?
        need_skip $f $f $pack && continue