From 135310665708cbe623373d9033600bdb56a8b6a3 Mon Sep 17 00:00:00 2001 From: Jean Privat Date: Thu, 19 Apr 2012 16:30:56 -0400 Subject: [PATCH] tests: add nit.nit Signed-off-by: Jean Privat --- tests/Makefile | 2 +- tests/nit.args | 1 + tests/sav/nit.sav | 13 +++++++++++++ tests/sav/nit_args1.sav | 1 + 4 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 tests/nit.args create mode 100644 tests/sav/nit.sav create mode 100644 tests/sav/nit_args1.sav 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 -- 1.7.9.5