tests: test nitc with -D and --semi-global
authorJean Privat <jean@pryen.org>
Wed, 28 Oct 2015 20:01:47 +0000 (16:01 -0400)
committerJean Privat <jean@pryen.org>
Wed, 28 Oct 2015 20:01:47 +0000 (16:01 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

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

index a11d29a..e6e6aff 100644 (file)
@@ -7,3 +7,4 @@
 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
+test_define.nit --semi-global -D text=hello -D num=42 -D flag --dir out/ ; out/test_define
diff --git a/tests/sav/nitc_args10.res b/tests/sav/nitc_args10.res
new file mode 100644 (file)
index 0000000..483d841
--- /dev/null
@@ -0,0 +1,3 @@
+hello
+42
+true