nitunit: use `--ignore-visibility` when executon tests
authorJean Privat <jean@pryen.org>
Tue, 25 Mar 2014 19:04:20 +0000 (15:04 -0400)
committerJean Privat <jean@pryen.org>
Tue, 25 Mar 2014 19:04:20 +0000 (15:04 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

src/nitunit.nit

index 4dceda0..b429a19 100644 (file)
@@ -93,7 +93,7 @@ class NitUnitExecutor
                end
                f.close
 
-               var cmd = "../bin/nitg --no-color '{file}' -I . >'{file}.out1' 2>&1 </dev/null -o '{file}.bin'"
+               var cmd = "../bin/nitg --ignore-visibility --no-color '{file}' -I . >'{file}.out1' 2>&1 </dev/null -o '{file}.bin'"
                var res = sys.system(cmd)
                var res2 = 0
                if res == 0 then