Skip to content

Commit 20c84d2

Browse files
matmaciejefilipleple
authored andcommitted
pfSense & OPNsense: test skipping with ENV ID
dasharo-compatibility/os-opnsense.robot: dasharo-compatibility/os-pfsense.robot: Test suites are skipping in Suite Setup if BSD ENV IDs are not present in TESTED_LINUX_DISTROS variable. Signed-off-by: Mateusz Maciejewski <[email protected]>
1 parent 3cf329f commit 20c84d2

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

dasharo-compatibility/os-opnsense.robot

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ Resource ../keys.robot
1313
# Log Out And Close Connection - elementary teardown keyword for all tests.
1414
Suite Setup Run Keywords
1515
... Prepare Test Suite
16+
... AND
17+
... Skip If '${ENV_ID_OPNSENSE}' not in ${TESTED_LINUX_DISTROS} OPNsense tests not supported
1618
Suite Teardown Run Keywords
1719
... Log Out And Close Connection
1820
Test Setup Run Keyword

dasharo-compatibility/os-pfsense.robot

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ Resource ../keys.robot
1313
# Log Out And Close Connection - elementary teardown keyword for all tests.
1414
Suite Setup Run Keywords
1515
... Prepare Test Suite
16+
... AND
17+
... Skip If '${ENV_ID_PFSENSE}' not in ${TESTED_LINUX_DISTROS} pfSense tests not supported
1618
Suite Teardown Run Keywords
1719
... Log Out And Close Connection
1820
Test Setup Run Keyword

0 commit comments

Comments
 (0)