[driver] run analysis and reporting for "analyze" commands

Summary:
Now `infer analyze` really has the same behaviour as `infer -- analyze`.
Previously it wouldn't create report.json or report.

Reviewed By: jeremydubreil

Differential Revision: D5172875

fbshipit-source-id: 8f9ddd1
master
Jules Villard 8 years ago committed by Facebook Github Bot
parent 03bdf0fe2c
commit 84b9901b22

@ -556,7 +556,7 @@ let () =
Config.print_usage_exit ()
);
InferAnalyze.register_perf_stats_report ();
execute_analyze ()
analyze Analyze
| Clang ->
let prog, args = match Array.to_list Sys.argv with
| prog::args -> prog, args

Loading…
Cancel
Save