aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2011-03-02 10:24:54 +0100
committerLukas Larsson <[email protected]>2011-03-02 10:24:54 +0100
commita3a4dbb5f8b11a04f4ac1530cfd96478f881763b (patch)
treef6feeac3f3cb87c1da827bcf403793d22122fff4
parentcdf46e658a3a11b97f6179c0d416dc8f2e975509 (diff)
downloadotp-a3a4dbb5f8b11a04f4ac1530cfd96478f881763b.tar.gz
otp-a3a4dbb5f8b11a04f4ac1530cfd96478f881763b.tar.bz2
otp-a3a4dbb5f8b11a04f4ac1530cfd96478f881763b.zip
Fix bug where failing to make a testcase caused an errornous failure reason
-rw-r--r--lib/test_server/src/ts_install_cth.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/test_server/src/ts_install_cth.erl b/lib/test_server/src/ts_install_cth.erl
index f8b4e5a4f8..d1a24525ab 100644
--- a/lib/test_server/src/ts_install_cth.erl
+++ b/lib/test_server/src/ts_install_cth.erl
@@ -112,7 +112,7 @@ pre_init_per_suite(_Suite,Config,State) ->
catch Error:Reason ->
Stack = erlang:get_stacktrace(),
ct:pal("~p failed! ~p:{~p,~p}",[?MODULE,Error,Reason,Stack]),
- {fail,{?MODULE,{Error,Reason, Stack}}}
+ {{fail,{?MODULE,{Error,Reason, Stack}}},State}
end.
%% @doc Called after init_per_suite.