aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/test/snmp_test_lib.hrl
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2019-07-31 12:03:08 +0200
committerMicael Karlberg <[email protected]>2019-07-31 12:03:08 +0200
commit6c4ad85880375b242ac48a2bf439887f503ce203 (patch)
tree4cbc2dc3a023c7474d1ee0d9e816b137b4d82abf /lib/snmp/test/snmp_test_lib.hrl
parentddaf348ba205842e4f2735bf7f62da342a60a894 (diff)
parent5ad5936dee3342b5fd788f1d5fad37d26cacdc56 (diff)
downloadotp-6c4ad85880375b242ac48a2bf439887f503ce203.tar.gz
otp-6c4ad85880375b242ac48a2bf439887f503ce203.tar.bz2
otp-6c4ad85880375b242ac48a2bf439887f503ce203.zip
Merge branch 'bmk/snmp/manager/20190729/test_tweaking' into 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),