aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2011-03-04 09:37:27 +0100
committerLukas Larsson <[email protected]>2011-03-04 09:37:27 +0100
commit840026b8a94e7575e07ba6da2d74be22cf9d8bdf (patch)
tree2e36ebbf56d9ae6cca0f70dee0bdf849e875b16c
parent2a1765542adc276ad8336307d1150a2aab8d837f (diff)
parenta3a4dbb5f8b11a04f4ac1530cfd96478f881763b (diff)
downloadotp-840026b8a94e7575e07ba6da2d74be22cf9d8bdf.tar.gz
otp-840026b8a94e7575e07ba6da2d74be22cf9d8bdf.tar.bz2
otp-840026b8a94e7575e07ba6da2d74be22cf9d8bdf.zip
Merge branch 'lukas/test_server/install_cth_error/OTP-8768' into dev
* lukas/test_server/install_cth_error/OTP-8768: 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.