pass -l to infer.py

Summary: Python needs to know about the value of -l if the user passes it at the top level.

Reviewed By: martinoluca

Differential Revision: D3757614

fbshipit-source-id: fbd3c0f
master
Jules Villard 8 years ago committed by Facebook Github Bot 8
parent 9ae19d01d0
commit c2ca6a23d5

@ -96,7 +96,9 @@ let () =
["--infer_cache"; s]) @ ["--infer_cache"; s]) @
(match Config.stacktrace with None -> [] | Some s -> (match Config.stacktrace with None -> [] | Some s ->
["--stacktrace"; s]) @ ["--stacktrace"; s]) @
"--multicore" :: (string_of_int Config.jobs) :: "-j" :: (string_of_int Config.jobs) ::
(match Config.load_average with None -> [] | Some f ->
["-l"; string_of_float f]) @
(if not Config.pmd_xml then [] else (if not Config.pmd_xml then [] else
["--pmd-xml"]) @ ["--pmd-xml"]) @
(if not Config.reactive_mode then [] else (if not Config.reactive_mode then [] else

Loading…
Cancel
Save