sanitycheck: filter on CONFIG_ASSERT

CONFIG_ASSERT is being set by cmake, so it is not possible to filter
using the generated config, add this as a standalone filter.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2018-01-09 09:12:15 -05:00 committed by Anas Nashif
parent 335bcedd36
commit 674bb28040

View file

@ -1743,7 +1743,11 @@ class TestSuite:
discards[instance] = "Excluded tags per platform"
continue
defconfig = {"ARCH": arch.name, "PLATFORM": plat.name}
defconfig = {
"ASSERT": 1 if options.enable_asserts else 0,
"ARCH": arch.name,
"PLATFORM": plat.name
}
defconfig.update(os.environ)
for p, tdefconfig in tc.defconfig.items():
if p == plat: