diff options
author | Lukas Larsson <[email protected]> | 2011-03-02 10:24:54 +0100 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2011-03-02 10:24:54 +0100 |
commit | a3a4dbb5f8b11a04f4ac1530cfd96478f881763b (patch) | |
tree | f6feeac3f3cb87c1da827bcf403793d22122fff4 /lib/test_server | |
parent | cdf46e658a3a11b97f6179c0d416dc8f2e975509 (diff) | |
download | otp-a3a4dbb5f8b11a04f4ac1530cfd96478f881763b.tar.gz otp-a3a4dbb5f8b11a04f4ac1530cfd96478f881763b.tar.bz2 otp-a3a4dbb5f8b11a04f4ac1530cfd96478f881763b.zip |
Fix bug where failing to make a testcase caused an errornous failure reason
Diffstat (limited to 'lib/test_server')
-rw-r--r-- | lib/test_server/src/ts_install_cth.erl | 2 |
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. |