diff options
author | Lukas Larsson <[email protected]> | 2010-11-18 14:11:23 +0100 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2010-12-08 18:07:48 +0100 |
commit | 6c4801696d6a22d61d2e7b145506f2548ea80547 (patch) | |
tree | acffadc9681ac6559159b0df37399b2047eff841 /lib/common_test | |
parent | dc20d9d2538b60547c3cbfba1772b500a85302b8 (diff) | |
download | otp-6c4801696d6a22d61d2e7b145506f2548ea80547.tar.gz otp-6c4801696d6a22d61d2e7b145506f2548ea80547.tar.bz2 otp-6c4801696d6a22d61d2e7b145506f2548ea80547.zip |
Update input parameter for suite callbacks to be called suite_callbacks when given from both erlang shell and ct_run command
Diffstat (limited to 'lib/common_test')
-rw-r--r-- | lib/common_test/src/ct_run.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/common_test/src/ct_run.erl b/lib/common_test/src/ct_run.erl index 9b4007026b..78782d346a 100644 --- a/lib/common_test/src/ct_run.erl +++ b/lib/common_test/src/ct_run.erl @@ -172,7 +172,7 @@ script_start1(Parent, Args) -> ([]) -> true end, false, Args), EvHandlers = event_handler_args2opts(Args), - SuiteCBs = get_start_opt(suite_callback, + SuiteCBs = get_start_opt(suite_callbacks, fun(CBs) -> [list_to_atom(CB) || CB <- CBs] end, [], Args), @@ -524,7 +524,7 @@ script_usage() -> "\n\t[-stylesheet CSSFile]" "\n\t[-cover CoverCfgFile]" "\n\t[-event_handler EvHandler1 EvHandler2 .. EvHandlerN]" - "\n\t[-suite_callback SuiteCB1 SuiteCB2 .. SuiteCBN]" + "\n\t[-suite_callbacks SuiteCB1 SuiteCB2 .. SuiteCBN]" "\n\t[-include InclDir1 InclDir2 .. InclDirN]" "\n\t[-no_auto_compile]" "\n\t[-multiply_timetraps N]" @@ -543,7 +543,7 @@ script_usage() -> "\n\t[-stylesheet CSSFile]" "\n\t[-cover CoverCfgFile]" "\n\t[-event_handler EvHandler1 EvHandler2 .. EvHandlerN]" - "\n\t[-suite_callback SuiteCB1 SuiteCB2 .. SuiteCBN]" + "\n\t[-suite_callbacks SuiteCB1 SuiteCB2 .. SuiteCBN]" "\n\t[-include InclDir1 InclDir2 .. InclDirN]" "\n\t[-no_auto_compile]" "\n\t[-multiply_timetraps N]" |