diff options
author | Anders Svensson <anders@erlang.org> | 2012-08-28 16:40:26 +0200 |
---|---|---|
committer | Anders Svensson <anders@erlang.org> | 2012-08-28 16:40:26 +0200 |
commit | 5334dab8e5491fa8fc710e4d83cdc744055446cf (patch) | |
tree | db0d8356dee3716ac28e4868a9eed9a74b728a5a /lib/diameter | |
parent | fef602372214f864ab1d685ee6053d36d9dcc605 (diff) | |
download | otp-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/diameter')
-rw-r--r-- | lib/diameter/test/diameter_ct.erl | 13 |
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() -> |