Fix TEST vs PULSE tests

This commit is contained in:
Scott Lystig Fritchie 2014-08-30 22:36:45 +09:00
parent e9f16d7b1b
commit 9c73872d20
2 changed files with 6 additions and 1 deletions

View file

@ -27,7 +27,6 @@
get/2, get/3, get_tails/2]).
-export([set_tails/2]).
-ifdef(TEST).
-export([start_link/2]).
-compile(export_all).
-endif.

View file

@ -28,6 +28,9 @@
-endif.
-endif.
-ifdef(TEST).
-ifndef(PULSE).
tango_oid_smoke_test() ->
ok = tango_test:run_test("/tmp", "tango_oid_smoke", 4096, 5*1024, 1,
fun tango_oid_smoke_test_int/3).
@ -59,3 +62,6 @@ tango_oid_one_test_int(PageSize, Seq, Proj) ->
after
tango_oid:stop(OID_Map)
end.
-endif. % not PULSE
-endif. % TEST