sanity: add extra arguments when creating defconfigs

When config_whitelist is used in a testcase that has extra
arguments, those were not set correctly and the test case build would
fail in some cases.

Change-Id: Idb8a4f07d29beefe62de932afa7cc0986e8dd1d4
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2015-11-10 12:24:20 -05:00
parent 111323fc90
commit 8ea9d02cdf

View file

@ -1154,8 +1154,9 @@ class TestSuite:
continue
for cw in tc.config_whitelist:
args = ["ARCH=" + plat.arch.name,
"PLATFORM_CONFIG=" + plat.name, "initconfig"]
args = tc.extra_args[:]
args.extend(["ARCH=" + plat.arch.name,
"PLATFORM_CONFIG=" + plat.name, "initconfig"])
# FIXME would be nice to use a common outdir for this so that
# conf, gen_idt, etc aren't rebuilt for every plat/ktype combo,
# need a way to avoid different Make processe from clobbering