aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src
diff options
context:
space:
mode:
authorPeter Andersson <[email protected]>2011-09-26 12:00:26 +0200
committerPeter Andersson <[email protected]>2011-09-27 14:05:48 +0200
commit5891e32d8fe1b7ad05e9bca4f37bad746ee64c21 (patch)
tree0c9dc6287aedc4824adb9bcdf5c962095144b122 /lib/common_test/src
parentcf69b30f660149c0f39e9cc22b00fb3a90c613b8 (diff)
downloadotp-5891e32d8fe1b7ad05e9bca4f37bad746ee64c21.tar.gz
otp-5891e32d8fe1b7ad05e9bca4f37bad746ee64c21.tar.bz2
otp-5891e32d8fe1b7ad05e9bca4f37bad746ee64c21.zip
Improve info in CT framework log
Diffstat (limited to 'lib/common_test/src')
-rw-r--r--lib/common_test/src/ct_framework.erl8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/common_test/src/ct_framework.erl b/lib/common_test/src/ct_framework.erl
index 63a7c37fa6..02a5d60445 100644
--- a/lib/common_test/src/ct_framework.erl
+++ b/lib/common_test/src/ct_framework.erl
@@ -1031,6 +1031,10 @@ make_conf(Mod, Name, Props, TestSpec) ->
true ->
{{Mod,init_per_group},{Mod,end_per_group}};
false ->
+ ct_logs:log("TEST INFO", "init_per_group/2 and "
+ "end_per_group/2 missing for group "
+ "~p in ~p, using default.",
+ [Name,Mod]),
{{?MODULE,ct_init_per_group},
{?MODULE,ct_end_per_group}}
end,
@@ -1208,14 +1212,14 @@ error_in_suite(Config) ->
%% use these instead
ct_init_per_group(GroupName, Config) ->
ct:comment(io_lib:format("start of ~p", [GroupName])),
- ct_logs:log("WARNING", "init_per_group/2 for ~w missing "
+ ct_logs:log("TEST INFO", "init_per_group/2 for ~w missing "
"in suite, using default.",
[GroupName]),
Config.
ct_end_per_group(GroupName, _) ->
ct:comment(io_lib:format("end of ~p", [GroupName])),
- ct_logs:log("WARNING", "end_per_group/2 for ~w missing "
+ ct_logs:log("TEST INFO", "end_per_group/2 for ~w missing "
"in suite, using default.",
[GroupName]),
ok.