aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/test/snmp_test_lib.hrl
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2019-07-31 12:03:34 +0200
committerMicael Karlberg <[email protected]>2019-07-31 12:03:34 +0200
commit6b78f405859530064e7f83d53dc7b9bb011261b7 (patch)
treeb61b5272c7fc70afc67eec411692450a1c3a2be5 /lib/snmp/test/snmp_test_lib.hrl
parentb7fc074fdbdf24c1e469cf894dbc1ac65b78f83a (diff)
parent6c4ad85880375b242ac48a2bf439887f503ce203 (diff)
downloadotp-6b78f405859530064e7f83d53dc7b9bb011261b7.tar.gz
otp-6b78f405859530064e7f83d53dc7b9bb011261b7.tar.bz2
otp-6b78f405859530064e7f83d53dc7b9bb011261b7.zip
Merge branch 'maint'
Diffstat (limited to 'lib/snmp/test/snmp_test_lib.hrl')
-rw-r--r--lib/snmp/test/snmp_test_lib.hrl10
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/snmp/test/snmp_test_lib.hrl b/lib/snmp/test/snmp_test_lib.hrl
index 99b86a928c..f077f15d3e 100644
--- a/lib/snmp/test/snmp_test_lib.hrl
+++ b/lib/snmp/test/snmp_test_lib.hrl
@@ -18,15 +18,11 @@
%% The Initial Developer of the Original Code is Ericsson AB.
%% %CopyrightEnd%
%%
+
%%----------------------------------------------------------------------
-%% Purpose: Define common macros for testing
+%% Purpose: Define common macros for (the snmp) testing
%%----------------------------------------------------------------------
-%% - (some of the) Macros stolen from the test server -
-
-%% -define(line,put(test_server_loc,{?MODULE,?LINE}),).
-
-
%% - Misc macros -
-ifndef(APPLICATION).
@@ -45,6 +41,8 @@
%% - Test case macros -
+-define(TC_TRY(C, TC), snmp_test_lib:tc_try(C, TC)).
+-define(TC_TRY(C, TCCond, TC), snmp_test_lib:tc_try(C, TCCond, TC)).
-define(OS_BASED_SKIP(Skippable),
snmp_test_lib:os_based_skip(Skippable)).
-define(NON_PC_TC_MAYBE_SKIP(Config, Condition),