tests: tests --log and --log-dir for nitc
authorJean Privat <jean@pryen.org>
Thu, 26 Feb 2015 13:58:07 +0000 (20:58 +0700)
committerJean Privat <jean@pryen.org>
Thu, 26 Feb 2015 13:58:07 +0000 (20:58 +0700)
So we can check that this rare path does not crashes

Signed-off-by: Jean Privat <jean@pryen.org>

tests/nitc.args
tests/sav/nitc_args9.res [new file with mode: 0644]

index 6a47146..0d83b02 100644 (file)
@@ -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 (file)
index 0000000..f18fded
--- /dev/null
@@ -0,0 +1,3 @@
+info.txt
+test_prog.rta_methods.txt
+test_prog.rta_types.csv