aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets/test
diff options
context:
space:
mode:
authorErland Schönbeck <[email protected]>2015-03-09 11:16:01 +0100
committerRickard Green <[email protected]>2015-03-20 15:28:54 +0100
commitf4a774425a440caa912da71cfb8c0c70df4df69e (patch)
treed58a81e1a978386aadec233df50ca7f628780417 /lib/inets/test
parent1132117b38cfe33e770a0d5b1a782d48667427c4 (diff)
downloadotp-f4a774425a440caa912da71cfb8c0c70df4df69e.tar.gz
otp-f4a774425a440caa912da71cfb8c0c70df4df69e.tar.bz2
otp-f4a774425a440caa912da71cfb8c0c70df4df69e.zip
Suppress deprecated warning on erlang:now/0
Diffstat (limited to 'lib/inets/test')
-rw-r--r--lib/inets/test/ftp_suite_lib.erl1
-rw-r--r--lib/inets/test/httpc_SUITE.erl1
-rw-r--r--lib/inets/test/httpd_time_test.erl1
3 files changed, 3 insertions, 0 deletions
diff --git a/lib/inets/test/ftp_suite_lib.erl b/lib/inets/test/ftp_suite_lib.erl
index 292a4399cd..42e2190758 100644
--- a/lib/inets/test/ftp_suite_lib.erl
+++ b/lib/inets/test/ftp_suite_lib.erl
@@ -29,6 +29,7 @@
% -export([init_per_testcase/2, end_per_testcase/2]).
-compile(export_all).
+-compile([{nowarn_deprecated_function,{erlang,now,0}}]).
-record(progress, {
diff --git a/lib/inets/test/httpc_SUITE.erl b/lib/inets/test/httpc_SUITE.erl
index 495d129661..6569027553 100644
--- a/lib/inets/test/httpc_SUITE.erl
+++ b/lib/inets/test/httpc_SUITE.erl
@@ -30,6 +30,7 @@
-include("http_internal.hrl").
%% Note: This directive should only be used in test suites.
-compile(export_all).
+-compile([{nowarn_deprecated_function,{erlang,now,0}}]).
-define(URL_START, "http://").
-define(TLS_URL_START, "https://").
diff --git a/lib/inets/test/httpd_time_test.erl b/lib/inets/test/httpd_time_test.erl
index 0c27f47aa9..43bafe5714 100644
--- a/lib/inets/test/httpd_time_test.erl
+++ b/lib/inets/test/httpd_time_test.erl
@@ -18,6 +18,7 @@
%%
%%
-module(httpd_time_test).
+-compile([{nowarn_deprecated_function,{erlang,now,0}}]).
-export([t/3, t1/2, t2/2, t4/2]).