aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorVratko Polak <vrpolak@cisco.com>2019-09-04 13:13:08 +0200
committerVratko Polak <vrpolak@cisco.com>2019-09-05 08:25:18 +0000
commit2570a7fad59831b3d91359bc52440339a168c808 (patch)
tree4c858835def1a8ac5603054514ff826226f7237e /tests
parent4751baad9a204c27b0566e4faf00bf0b30f7e170 (diff)
Allow CRC checking to be controlled via env var
The plan is to override the default in some (but not all) jobs. The csit-vpp jobs shall do the checking, but vpp-csit jobs shall not (except api-crc job of course) in order to confirm benign changes. Change-Id: If59d17991de3fb0e847113a87e0533a8ee62af7f Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/__init__.robot5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/__init__.robot b/tests/__init__.robot
index 2e17675a31..e40911413c 100644
--- a/tests/__init__.robot
+++ b/tests/__init__.robot
@@ -13,7 +13,10 @@
*** Settings ***
| Documentation | Set global variables common to all tests.
+| # The two paths below assume working directory when pybot is started,
+| # but we cannot use ${CURDIR} as this file may be copied under generated/.
| Resource | resources/libraries/robot/robot_enhancements.robot
+| Variables | resources/libraries/python/Constants.py
| Suite Setup | Set Common Variables
*** Keywords ***
@@ -33,3 +36,5 @@
| | Ensure Global Variable | perf_trial_multiplicity | 10
| | Ensure Global Variable | perf_trial_duration | 1
| | Ensure Global Variable | dut1_uuid | ${EMPTY}
+| | # Avoiding dangers of case insensitive Robot variable names.
+| | Ensure Global Variable | crc_mismatch_fails | ${CRC_MISMATCH_FAILS_TEST}