test_phase: add a regression test
authorJean Privat <jean@pryen.org>
Tue, 4 Feb 2014 15:06:26 +0000 (10:06 -0500)
committerJean Privat <jean@pryen.org>
Tue, 4 Feb 2014 16:02:28 +0000 (11:02 -0500)
Change-Id: Ib31748c1572a1ab3d9926b99c5d2e2db965b56fc
Signed-off-by: Jean Privat <jean@pryen.org>

tests/sav/test_phase.res [new file with mode: 0644]
tests/testfull.sh

diff --git a/tests/sav/test_phase.res b/tests/sav/test_phase.res
new file mode 100644 (file)
index 0000000..8bc4233
--- /dev/null
@@ -0,0 +1,12 @@
+  -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
index 91e45bd..82eb5e4 100755 (executable)
@@ -6,4 +6,18 @@ do
        y="$x/$bx.nit"
        test -f $y && list="$list $y"
 done
-./tests.sh "$@" *.nit ../examples/*.nit ../examples/leapfrog/leapfrog.nit ../examples/shoot/src/shoot_logic.nit ../lib/*.nit $list ../src/nitdoc.nit ../src/test_parser.nit ../src/nit.nit ../src/nitmetrics.nit ../src/nitg.nit ../src/nitx.nit ../src/netdbg.nit ../src/nitlight.nit ../contrib/sort_downloads/src/sort_downloads.nit
+./tests.sh "$@" *.nit \
+       ../examples/*.nit \
+       ../examples/leapfrog/leapfrog.nit \
+       ../examples/shoot/src/shoot_logic.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/netdbg.nit \
+       ../src/nitlight.nit \
+       ../contrib/sort_downloads/src/sort_downloads.nit