tests: testfull includes all sources in lib/
authorJean Privat <jean@pryen.org>
Fri, 29 Aug 2014 03:33:12 +0000 (23:33 -0400)
committerJean Privat <jean@pryen.org>
Fri, 29 Aug 2014 03:33:12 +0000 (23:33 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

tests/listfull.sh

index b02edda..6282781 100755 (executable)
@@ -1,11 +1,4 @@
 #!/bin/sh
-list=""
-for x in ../lib/*
-do
-       bx=`basename $x`
-       y="$x/$bx.nit"
-       test -f $y && list="$list $y"
-done
 printf "%s\n" "$@" *.nit \
        ../examples/*.nit \
        ../examples/*/*.nit \
@@ -16,7 +9,9 @@ printf "%s\n" "$@" *.nit \
        ../examples/pnacl/converter/converter.nit \
        ../examples/nitcorn/src/*.nit \
        ../examples/mpi/src/*.nit \
-       ../lib/*.nit $list \
+       ../lib/*.nit \
+       ../lib/*/*.nit \
+       ../lib/*/*/*.nit  \
        ../src/nit*.nit \
        ../src/test_*.nit \
        ../contrib/*.nit \