From 9bc542aaa9ce03b2382118774a1488adb897c92a Mon Sep 17 00:00:00 2001 From: Jean Privat Date: Tue, 4 Feb 2014 10:06:26 -0500 Subject: [PATCH] test_phase: add a regression test Change-Id: Ib31748c1572a1ab3d9926b99c5d2e2db965b56fc Signed-off-by: Jean Privat --- tests/sav/test_phase.res | 12 ++++++++++++ tests/testfull.sh | 16 +++++++++++++++- 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 tests/sav/test_phase.res diff --git a/tests/sav/test_phase.res b/tests/sav/test_phase.res new file mode 100644 index 0000000..8bc4233 --- /dev/null +++ b/tests/sav/test_phase.res @@ -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 diff --git a/tests/testfull.sh b/tests/testfull.sh index 91e45bd..82eb5e4 100755 --- a/tests/testfull.sh +++ b/tests/testfull.sh @@ -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 -- 1.7.9.5