aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/test/diameter_ct.erl
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2012-08-29 16:25:26 +0200
committerAnders Svensson <[email protected]>2012-08-29 16:25:26 +0200
commita572c6ad38f2ab482e882102eeb9d63d22464699 (patch)
tree55edc3326b2138d8b382a4277ee1464f60ae2c53 /lib/diameter/test/diameter_ct.erl
parentf3b7163813027e37951d82fed15c49fefa89f741 (diff)
parentf9732dbbfa30d0af503054775733779d8e556927 (diff)
downloadotp-a572c6ad38f2ab482e882102eeb9d63d22464699.tar.gz
otp-a572c6ad38f2ab482e882102eeb9d63d22464699.tar.bz2
otp-a572c6ad38f2ab482e882102eeb9d63d22464699.zip
Merge branch 'maint'
Diffstat (limited to 'lib/diameter/test/diameter_ct.erl')
-rw-r--r--lib/diameter/test/diameter_ct.erl13
1 files changed, 6 insertions, 7 deletions
diff --git a/lib/diameter/test/diameter_ct.erl b/lib/diameter/test/diameter_ct.erl
index f8ee3dc1d7..ded50bf6c5 100644
--- a/lib/diameter/test/diameter_ct.erl
+++ b/lib/diameter/test/diameter_ct.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2010-2011. All Rights Reserved.
+%% Copyright Ericsson AB 2010-2012. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -25,15 +25,14 @@
-export([run/1]).
-%% ct:run_test/1 is currently documented as returning a list of test
-%% results ... but no. Instead it returns 'ok' regardless of whether
-%% or not the suite in question has failed testcases.
+%% The makefile looks for signs of failure so ignore the ct:run_test/1
+%% return value.
run([Suite]) ->
Start = info(),
- ok = ct:run_test([{suite, Suite},
- {logdir, "./log"},
- {auto_compile, false}]),
+ ct:run_test([{suite, Suite},
+ {logdir, "./log"},
+ {auto_compile, false}]),
info(Start , info()).
info() ->