aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2012-08-28 16:40:26 +0200
committerAnders Svensson <[email protected]>2012-08-28 16:40:26 +0200
commit5334dab8e5491fa8fc710e4d83cdc744055446cf (patch)
treedb0d8356dee3716ac28e4868a9eed9a74b728a5a /lib
parentfef602372214f864ab1d685ee6053d36d9dcc605 (diff)
downloadotp-5334dab8e5491fa8fc710e4d83cdc744055446cf.tar.gz
otp-5334dab8e5491fa8fc710e4d83cdc744055446cf.tar.bz2
otp-5334dab8e5491fa8fc710e4d83cdc744055446cf.zip
Update command line test for changed ct:run_test/1 return value
Diffstat (limited to 'lib')
-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() ->