aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2017-08-29 16:16:33 +0200
committerSverker Eriksson <[email protected]>2017-08-30 16:26:40 +0200
commitd83975178956dbaed84c315ba249a571ce796cb3 (patch)
tree9fed01d1f57c753b7e470b7b70371ce9bd0afc86 /lib/stdlib
parent7c5fcd3f2701cbb614930682ac52ff75b9c26e6c (diff)
downloadotp-d83975178956dbaed84c315ba249a571ce796cb3.tar.gz
otp-d83975178956dbaed84c315ba249a571ce796cb3.tar.bz2
otp-d83975178956dbaed84c315ba249a571ce796cb3.zip
Revert "remove unused purify functions"
This reverts commit d8c8e0c66d6faf5402682f3a8568362eedebdfee.
Diffstat (limited to 'lib/stdlib')
-rw-r--r--lib/stdlib/test/id_transform_SUITE.erl9
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/stdlib/test/id_transform_SUITE.erl b/lib/stdlib/test/id_transform_SUITE.erl
index 3d4ae1a189..54f452825f 100644
--- a/lib/stdlib/test/id_transform_SUITE.erl
+++ b/lib/stdlib/test/id_transform_SUITE.erl
@@ -61,8 +61,13 @@ id_transform(Config) when is_list(Config) ->
"erl_id_trans.erl"]),
{ok,erl_id_trans,Bin} = compile:file(File,[binary]),
{module,erl_id_trans} = code:load_binary(erl_id_trans, File, Bin),
- ct:timetrap({hours,1}),
- run_in_test_suite().
+ case test_server:purify_is_running() of
+ false ->
+ ct:timetrap({hours,1}),
+ run_in_test_suite();
+ true ->
+ {skip,"Valgrind (too slow)"}
+ end.
run_in_test_suite() ->
SuperDir = filename:dirname(filename:dirname(code:which(?MODULE))),