From c86defc35fa4f2447c09693cc41562bae1053cf8 Mon Sep 17 00:00:00 2001 From: Jean Privat Date: Thu, 26 Feb 2015 20:58:07 +0700 Subject: [PATCH] tests: tests --log and --log-dir for nitc So we can check that this rare path does not crashes Signed-off-by: Jean Privat --- tests/nitc.args | 1 + tests/sav/nitc_args9.res | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 tests/sav/nitc_args9.res diff --git a/tests/nitc.args b/tests/nitc.args index 6a47146..0d83b02 100644 --- a/tests/nitc.args +++ b/tests/nitc.args @@ -6,3 +6,4 @@ --separate ../examples/hello_world.nit -m test_mixin.nit -o out/nitgs-hello_world_mixed ; out/nitgs-hello_world_mixed base_simple_import.nit base_simple.nit --dir out/ ; out/base_simple ; out/base_simple_import test_define.nit -D text=hello -D num=42 -D flag --dir out/ ; out/test_define +--log --log-dir $WRITE test_prog -o out/test_prog.bin diff --git a/tests/sav/nitc_args9.res b/tests/sav/nitc_args9.res new file mode 100644 index 0000000..f18fded --- /dev/null +++ b/tests/sav/nitc_args9.res @@ -0,0 +1,3 @@ +info.txt +test_prog.rta_methods.txt +test_prog.rta_types.csv -- 1.7.9.5