tests: add more stuff from examples and contrib
authorJean Privat <jean@pryen.org>
Mon, 28 Apr 2014 15:20:02 +0000 (11:20 -0400)
committerJean Privat <jean@pryen.org>
Mon, 28 Apr 2014 15:20:02 +0000 (11:20 -0400)
Thanks to the cc.skip and exec.skip files, suitable tests are available

Signed-off-by: Jean Privat <jean@pryen.org>

12 files changed:
tests/cc.skip
tests/exec.skip
tests/nitg-g.skip
tests/niti.skip
tests/sav/nitcc.res [new file with mode: 0644]
tests/sav/nitcc_lexer0.res [new file with mode: 0644]
tests/sav/nitcc_parser_gen.res [new file with mode: 0644]
tests/sav/nitcc_semantic.res [new file with mode: 0644]
tests/sav/nitcc_test_parser.res [new file with mode: 0644]
tests/sav/nitdbg_websocket_server.res [deleted file]
tests/sav/re2nfa.res [new file with mode: 0644]
tests/testfull.sh

index 3fa85bc..82cd3d0 100644 (file)
@@ -2,3 +2,6 @@ bcm2835
 gtk3_6
 gtk3_8
 posix_ext
+physical_interface_for_mpd_on_rpi
+blink
+input
index 72c5135..b099f64 100644 (file)
@@ -1,7 +1,7 @@
 example_exec_ls
+leapfrog_curses
 dino_linux
 moles_linux
 simple_linux
 shoot_linux
 websocket_server
-nitdbg_websocket_server
index 8a7e8c7..ed1c634 100644 (file)
@@ -3,3 +3,4 @@ init_linext
 inline
 nitg
 test_json
+mnit
index 906bd9b..84aa957 100644 (file)
@@ -14,3 +14,4 @@ nitg_args6
 pep8analysis
 test_android_platform
 android
+nitcc_parser_gen
diff --git a/tests/sav/nitcc.res b/tests/sav/nitcc.res
new file mode 100644 (file)
index 0000000..e7370cf
--- /dev/null
@@ -0,0 +1,2 @@
+../contrib/nitcc/src/re2nfa.nit:18,8--18: Error: cannot find module nitcc_lexer from nitcc. tried alt, ../lib, ../contrib/nitcc
+../contrib/nitcc/src/nitcc_semantic.nit:21,8--19: Error: cannot find module nitcc_parser from nitcc. tried alt, ../lib, ../contrib/nitcc
diff --git a/tests/sav/nitcc_lexer0.res b/tests/sav/nitcc_lexer0.res
new file mode 100644 (file)
index 0000000..4096407
--- /dev/null
@@ -0,0 +1 @@
+../contrib/nitcc/src/nitcc_lexer0.nit:21,8--19: Error: cannot find module nitcc_parser from nitcc. tried alt, ../lib, ../contrib/nitcc
diff --git a/tests/sav/nitcc_parser_gen.res b/tests/sav/nitcc_parser_gen.res
new file mode 100644 (file)
index 0000000..0b70dcf
--- /dev/null
@@ -0,0 +1 @@
+LR automaton: 91 states (see nitcc0.lr.dot)
diff --git a/tests/sav/nitcc_semantic.res b/tests/sav/nitcc_semantic.res
new file mode 100644 (file)
index 0000000..e7370cf
--- /dev/null
@@ -0,0 +1,2 @@
+../contrib/nitcc/src/re2nfa.nit:18,8--18: Error: cannot find module nitcc_lexer from nitcc. tried alt, ../lib, ../contrib/nitcc
+../contrib/nitcc/src/nitcc_semantic.nit:21,8--19: Error: cannot find module nitcc_parser from nitcc. tried alt, ../lib, ../contrib/nitcc
diff --git a/tests/sav/nitcc_test_parser.res b/tests/sav/nitcc_test_parser.res
new file mode 100644 (file)
index 0000000..b3f4482
--- /dev/null
@@ -0,0 +1 @@
+usage nitcc_test <filepath> | - | -e <text>
diff --git a/tests/sav/nitdbg_websocket_server.res b/tests/sav/nitdbg_websocket_server.res
deleted file mode 100644 (file)
index a61c3d8..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-Usage: nit [OPTION]... <file.nit>...
-Interprets and debbugs Nit programs.
-Use --help for help
diff --git a/tests/sav/re2nfa.res b/tests/sav/re2nfa.res
new file mode 100644 (file)
index 0000000..9f64398
--- /dev/null
@@ -0,0 +1 @@
+../contrib/nitcc/src/re2nfa.nit:18,8--18: Error: cannot find module nitcc_lexer from nitcc. tried alt, ../lib, ../contrib/nitcc
index af97d0c..ad399c8 100755 (executable)
@@ -8,16 +8,18 @@ do
 done
 ./tests.sh "$@" *.nit \
        ../examples/*.nit \
-       ../examples/leapfrog/leapfrog.nit \
+       ../examples/*/*.nit \
        ../examples/shoot/src/shoot_logic.nit \
        ../examples/*/src/*_android.nit \
        ../examples/*/src/*_linux.nit \
        ../lib/*.nit $list \
        ../src/nit*.nit \
        ../src/test_*.nit \
+       ../contrib/*.nit \
+       ../contrib/*/*.nit \
+       ../contrib/*/src/*.nit \
        ../contrib/sort_downloads/src/sort_downloads.nit \
        ../contrib/pep8analysis/src/pep8analysis.nit \
-       ../contrib/github_merge.nit \
        ../contrib/github_search_for_jni/src/github_search_for_jni.nit \
        ../contrib/inkscape_tools/src/svg_to_png_and_nit.nit \
        ../contrib/inkscape_tools/src/svg_to_icons.nit