From d46144a588185796bdfc4d7addffc768fcd66c14 Mon Sep 17 00:00:00 2001 From: Lukas Larsson Date: Mon, 29 Nov 2010 14:23:35 +0100 Subject: Update edoc and command line help documentation to reflect change from run_test to ct_run --- lib/common_test/src/ct.erl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/common_test/src/ct.erl') diff --git a/lib/common_test/src/ct.erl b/lib/common_test/src/ct.erl index 1dbf83ee10..405dc40c8b 100644 --- a/lib/common_test/src/ct.erl +++ b/lib/common_test/src/ct.erl @@ -97,7 +97,7 @@ %%% install([{config,["config_node.ctc","config_user.ctc"]}]).

%%% %%%

Note that this function is automatically run by the -%%% run_test program.

+%%% ct_run program.

install(Opts) -> ct_run:install(Opts). @@ -179,10 +179,10 @@ run(TestDirs) -> %%% Result = [TestResult] | {error,Reason} %%% @doc Run tests as specified by the combination of options in Opts. %%% The options are the same as those used with the -%%% run_test program. +%%% ct_run program. %%% Note that here a TestDir can be used to point out the path to %%% a Suite. Note also that the option testcase -%%% corresponds to the -case option in the run_test +%%% corresponds to the -case option in the ct_run %%% program. Configuration files specified in Opts will be %%% installed automatically at startup. run_test(Opts) -> @@ -225,7 +225,7 @@ step(TestDir,Suite,Case,Opts) -> %%% %%%

From this mode all test case support functions can be executed %%% directly from the erlang shell. The interactive mode can also be -%%% started from the OS command line with run_test -shell +%%% started from the OS command line with ct_run -shell %%% [-config File...].

%%% %%%

If any functions using "required config data" (e.g. telnet or -- cgit v1.2.3