Skip to content

Commit

Permalink
load default config before tests (needed for solver)
Browse files Browse the repository at this point in the history
  • Loading branch information
vogler committed Jun 25, 2019
1 parent 228385b commit ed78100
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions unittest/mainTest.ml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ open OUnit

module U = Testutils

let all_tests _ = ("Tests for goblin" >:::
let all_tests _ = ("" >:::
[ NativeArrayDomainTest.test ();
CollapsingArrayDomainTest.test ();
IntDomainTest.test ();
Expand All @@ -13,8 +13,9 @@ let all_tests _ = ("Tests for goblin" >:::
(* etc *)
])


let _ =
(* first we need to load the default config which is done at the toplevel in Defaults *)
let module Ignore = Defaults in
let verbose = ref false in
let set_verbose _ = verbose := true in
Arg.parse
Expand Down

0 comments on commit ed78100

Please sign in to comment.