diff options
author | Micael Karlberg <[email protected]> | 2012-07-22 08:11:30 +0200 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2012-08-01 14:57:32 +0200 |
commit | b8970a3899e2cb62e6a1c3a053afdef7ffca9542 (patch) | |
tree | 28d5bff3db69435a8aa1eabc7af8088dede9a985 | |
parent | b83743233210ccb1f294346be93a6cd03b58683e (diff) | |
download | otp-b8970a3899e2cb62e6a1c3a053afdef7ffca9542.tar.gz otp-b8970a3899e2cb62e6a1c3a053afdef7ffca9542.tar.bz2 otp-b8970a3899e2cb62e6a1c3a053afdef7ffca9542.zip |
[snmp/agent] Printout (of agent info) using plain print function
Printout (of agent info) using plain print function
rather than debug (DBG) macro.
-rw-r--r-- | lib/snmp/test/snmp_agent_test.erl | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/lib/snmp/test/snmp_agent_test.erl b/lib/snmp/test/snmp_agent_test.erl index 736e1c8ebd..e1d7f33b3f 100644 --- a/lib/snmp/test/snmp_agent_test.erl +++ b/lib/snmp/test/snmp_agent_test.erl @@ -346,9 +346,15 @@ end_per_group(_GroupName, Config) -> +%% ---- Init Per TestCase ---- + init_per_testcase(Case, Config) when is_list(Config) -> ?DBG("init_per_testcase -> entry with" - "~n Agant Info: ~p", [snmpa:info()]), + "~n Config: ~p", [Config]), + + p("Agent Info: " + "~n ~p", [snmpa:info()]), + init_per_testcase1(Case, Config). init_per_testcase1(otp8395 = Case, Config) when is_list(Config) -> @@ -386,11 +392,16 @@ init_per_testcase1(_Case, Config) when is_list(Config) -> Dog = ?WD_START(?MINS(6)), [{watchdog, Dog}| Config ]. + +%% ---- End Per TestCase ---- + end_per_testcase(Case, Config) when is_list(Config) -> ?DBG("end_per_testcase -> entry with" - "~n Agant Info: ~p", [snmpa:info()]), + "~n Config: ~p", [Config]), + + p("Agent Info: " + "~n ~p", [snmpa:info()]), - p("Display log"), display_log(Config), end_per_testcase1(Case, Config). |