summaryrefslogtreecommitdiff
path: root/test/rebar_test_utils.erl
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2015-04-26 22:06:23 -0500
committerTristan Sloughter <t@crashfast.com>2015-04-26 22:08:16 -0500
commitbecf29a5ac8e9b219120daef3ed46ed059d4b0d4 (patch)
treef498b1380431f201d069bbf595004103a8765e85 /test/rebar_test_utils.erl
parent212b23b889c0189d3f609d5a16781f6acbadf824 (diff)
enable parse transformations in rebar config
Diffstat (limited to 'test/rebar_test_utils.erl')
-rw-r--r--test/rebar_test_utils.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rebar_test_utils.erl b/test/rebar_test_utils.erl
index f764146..2cdc58b 100644
--- a/test/rebar_test_utils.erl
+++ b/test/rebar_test_utils.erl
@@ -104,12 +104,12 @@ create_config(AppDir, Contents) ->
%% @doc Util to create a random variation of a given name.
create_random_name(Name) ->
- random:seed(erlang:now()),
+ random:seed(os:timestamp()),
Name ++ erlang:integer_to_list(random:uniform(1000000)).
%% @doc Util to create a random variation of a given version.
create_random_vsn() ->
- random:seed(erlang:now()),
+ random:seed(os:timestamp()),
lists:flatten([erlang:integer_to_list(random:uniform(100)),
".", erlang:integer_to_list(random:uniform(100)),
".", erlang:integer_to_list(random:uniform(100))]).