diff options
author | Peter Andersson <[email protected]> | 2012-03-13 00:11:48 +0100 |
---|---|---|
committer | Peter Andersson <[email protected]> | 2012-03-13 00:11:48 +0100 |
commit | f9972d68af0cebef9856690b903255c75f1d1b74 (patch) | |
tree | e97d42500fa217d7484c0968fdfbf4f28277fd4f | |
parent | bcf19f1d079720272198ba1a6b36a8718e6f2303 (diff) | |
download | otp-f9972d68af0cebef9856690b903255c75f1d1b74.tar.gz otp-f9972d68af0cebef9856690b903255c75f1d1b74.tar.bz2 otp-f9972d68af0cebef9856690b903255c75f1d1b74.zip |
Fix broken repeat functionality
OTP-9899
-rw-r--r-- | lib/common_test/src/ct_repeat.erl | 2 | ||||
-rw-r--r-- | lib/common_test/src/ct_run.erl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/common_test/src/ct_repeat.erl b/lib/common_test/src/ct_repeat.erl index be3c485b75..e6eb135ae8 100644 --- a/lib/common_test/src/ct_repeat.erl +++ b/lib/common_test/src/ct_repeat.erl @@ -116,7 +116,7 @@ spawn_tester(script,Ctrl,Args) -> spawn_tester(func,Ctrl,Opts) -> Tester = fun() -> - case catch ct_run:run_test1(Opts) of + case catch ct_run:run_test2(Opts) of {'EXIT',Reason} -> exit(Reason); Result -> diff --git a/lib/common_test/src/ct_run.erl b/lib/common_test/src/ct_run.erl index 05b10bca32..e3032e9c02 100644 --- a/lib/common_test/src/ct_run.erl +++ b/lib/common_test/src/ct_run.erl @@ -37,7 +37,7 @@ %% Misc internal functions --export([variables_file_name/1,script_start1/2,run_test1/1]). +-export([variables_file_name/1,script_start1/2,run_test2/1]). -include("ct_event.hrl"). -include("ct_util.hrl"). |