[CLI] let OUnit arguments pass through

Summary:
When executing unit tests, don't parse the arguments as they will be
parsed by OUnit.

Reviewed By: skcho

Differential Revision: D20669675

fbshipit-source-id: 897ec10ee
master
Jules Villard 5 years ago committed by Facebook GitHub Bot
parent 1cdc4e2501
commit 15dabefd04

@ -453,7 +453,7 @@ let implicit_sdk_root =
let startup_action = let startup_action =
let open CLOpt in let open CLOpt in
if infer_is_javac then Javac if infer_is_javac then Javac
else if !Sys.interactive then NoParse else if !Sys.interactive || String.is_substring ~substring:"inferunit" exe_basename then NoParse
else if infer_is_clang then NoParse else if infer_is_clang then NoParse
else InferCommand else InferCommand

Loading…
Cancel
Save