tests: add nit.nit
authorJean Privat <jean@pryen.org>
Thu, 19 Apr 2012 20:30:56 +0000 (16:30 -0400)
committerJean Privat <jean@pryen.org>
Thu, 19 Apr 2012 20:30:56 +0000 (16:30 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

tests/Makefile
tests/nit.args [new file with mode: 0644]
tests/sav/nit.sav [new file with mode: 0644]
tests/sav/nit_args1.sav [new file with mode: 0644]

index d856b73..68f9132 100644 (file)
@@ -1,5 +1,5 @@
 
-PROGS=*.nit ../examples/*.nit ../lib/*.nit ../src/nitdoc.nit ../src/nits.nit ../src/nitc.nit ../src/test_parser.nit
+PROGS=*.nit ../examples/*.nit ../lib/*.nit ../src/nitdoc.nit ../src/nits.nit ../src/nitc.nit ../src/test_parser.nit ../src/nit.nit
 
 all: separate global icode
 
diff --git a/tests/nit.args b/tests/nit.args
new file mode 100644 (file)
index 0000000..2bd552f
--- /dev/null
@@ -0,0 +1 @@
+--log --log-dir out/test_nitc_logs ../examples/hello_world.nit
diff --git a/tests/sav/nit.sav b/tests/sav/nit.sav
new file mode 100644 (file)
index 0000000..56c1b37
--- /dev/null
@@ -0,0 +1,13 @@
+  -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
+  -o                      compatibility (does noting)
diff --git a/tests/sav/nit_args1.sav b/tests/sav/nit_args1.sav
new file mode 100644 (file)
index 0000000..3b18e51
--- /dev/null
@@ -0,0 +1 @@
+hello world