Commits

Anonymous committed 049dfc5

Suppress effigy verifying info messages and and point the run_tests.escript at the correct location of effigy's beams.

  • Participants
  • Parent commits 029242e

Comments (0)

Files changed (2)

File deps/effigy/src/mock.erl

   {reply, ok, State#state{expectations=add_expectation(Function, Args, Ret, Times, Expects)}};
 
 handle_call(verify, _From, State = #state{expectations=Expects,module=Mod}) ->
-  ?infoFmt("verifying ~p~n", [Mod]),
+  %% ?infoFmt("verifying ~p~n", [Mod]),
   if
     length(Expects) > 0 -> {reply, {mismatch, format_missing_expectations(Expects, Mod)}, State};
     true -> {reply, ok, State}
   
   
   
-  
+  

File support/bin/run_tests.escript

 %%! -name gen_bunny__test@127.0.0.1
 main([Ebin]) ->
     code:add_path(Ebin),
+    code:add_path("deps/effigy/src"),
     code:add_paths(filelib:wildcard("deps/*/ebin", Ebin)),
     code:add_paths(filelib:wildcard("deps/*/deps/*/ebin", Ebin)),