From: Jean Privat Date: Thu, 19 Apr 2012 20:30:56 +0000 (-0400) Subject: tests: add nit.nit X-Git-Tag: v0.6~366 X-Git-Url: http://nitlanguage.org tests: add nit.nit Signed-off-by: Jean Privat --- diff --git a/tests/Makefile b/tests/Makefile index d856b73..68f9132 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -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 index 0000000..2bd552f --- /dev/null +++ b/tests/nit.args @@ -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 index 0000000..56c1b37 --- /dev/null +++ b/tests/sav/nit.sav @@ -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 index 0000000..3b18e51 --- /dev/null +++ b/tests/sav/nit_args1.sav @@ -0,0 +1 @@ +hello world