sanitycheck: Add fixture option for external hardware dependecy
Add a new option as fixture in harness configurations for utilizing
sanitycheck to identify test cases that require external hardware
such as sensor, ble, networking for validation. The config will be
added to yaml files with unique fixture name to identify each hardware
and allow automation to trigger test execution on setup having the
specific fixture enabled. Also, remove the default required for type and
regex configs that is not essential in case of ztest based test cases.
Signed-off-by: Praful Swarnakar <praful.swarnakar@intel.com>
diff --git a/scripts/sanitycheck b/scripts/sanitycheck
index 603e25a..e5f522b 100755
--- a/scripts/sanitycheck
+++ b/scripts/sanitycheck
@@ -1172,7 +1172,7 @@
"toolchain_whitelist": {"type": "set"},
"filter": {"type": "str"},
"harness": {"type": "str"},
- "harness_config": {"type": "map"}
+ "harness_config": {"type": "map", "default": {}}
}