Skip to content

Commit

Permalink
test: Enable backtraces in unit tests
Browse files Browse the repository at this point in the history
Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
  • Loading branch information
simonjbeaumont committed Jun 23, 2016
1 parent 797d4a5 commit 1588066
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ocaml/test/suite.ml
Expand Up @@ -80,6 +80,7 @@ let harness_init () =
let harness_destroy () = ()

let () =
Printexc.record_backtrace true;
Inventory.inventory_filename :=
Filename.concat Test_common.working_area "xcp-inventory";
harness_init ();
Expand Down

0 comments on commit 1588066

Please sign in to comment.