tests: add nitls
authorJean Privat <jean@pryen.org>
Tue, 18 Mar 2014 19:00:32 +0000 (15:00 -0400)
committerJean Privat <jean@pryen.org>
Tue, 18 Mar 2014 19:00:32 +0000 (15:00 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

tests/nitls.args [new file with mode: 0644]
tests/sav/nitls.res [new file with mode: 0644]
tests/sav/nitls_args1.res [new file with mode: 0644]
tests/sav/nitls_args2.res [new file with mode: 0644]
tests/testfull.sh

diff --git a/tests/nitls.args b/tests/nitls.args
new file mode 100644 (file)
index 0000000..77606fa
--- /dev/null
@@ -0,0 +1,2 @@
+base_simple3.nit
+-t base_simple3.nit
diff --git a/tests/sav/nitls.res b/tests/sav/nitls.res
new file mode 100644 (file)
index 0000000..303e63d
--- /dev/null
@@ -0,0 +1,19 @@
+Usage: nitls [OPTION].. [FILES]...
+List Nit source files
+  -W, --warn              Show warnings
+  -q, --quiet             Do not show warnings
+  --stop-on-first-error   Stop on first error
+  --no-color              Do not use color to display errors and warnings
+  --log                   Generate various log files
+  --log-dir               Directory where to generate log files
+  -h, -?, --help          Show Help (This screen)
+  --version               Show version and exit
+  -v, --verbose           Verbose
+  -I, --path              Set include path for loaders (may be used more than once)
+  --only-parse            Only proceed to parse step of loaders
+  --only-metamodel        Stop after meta-model processing
+  -k, --keep              Ignore errors and files that are not a Nit source file
+  -r, --recursive         Process directories recussively
+  -t, --tree              List source files in their groups and projects
+  -s, --source            List source files
+  -p, --project           List projects paths (default)
diff --git a/tests/sav/nitls_args1.res b/tests/sav/nitls_args1.res
new file mode 100644 (file)
index 0000000..5f3aa2c
--- /dev/null
@@ -0,0 +1 @@
+base_simple3.nit
diff --git a/tests/sav/nitls_args2.res b/tests/sav/nitls_args2.res
new file mode 100644 (file)
index 0000000..18465e3
--- /dev/null
@@ -0,0 +1,2 @@
+base_simple3
+`--base_simple3.nit
index b5b20b5..9b694e2 100755 (executable)
@@ -13,14 +13,7 @@ done
        ../examples/*/src/*_android.nit \
        ../examples/*/src/*_linux.nit \
        ../lib/*.nit $list \
-       ../src/nitdoc.nit \
        ../src/test_parser.nit \
        ../src/test_phase.nit \
-       ../src/nit.nit \
-       ../src/nitmetrics.nit \
-       ../src/nitg.nit \
-       ../src/nitx.nit \
-       ../src/nitunit.nit \
-       ../src/netdbg.nit \
-       ../src/nitlight.nit \
+       ../src/nit*.nit \
        ../contrib/sort_downloads/src/sort_downloads.nit