scripts: sanitycheck: Switch config target
This patch changes the config target to use the config-sanitycheck target. The config-sanitycheck target gets not only the Kconfig options, but also the DTS generated options. Signed-off-by: Andy Gross <andy.gross@linaro.org>
This commit is contained in:
parent
4603565a81
commit
25309ab51a
1 changed files with 3 additions and 3 deletions
|
@ -1354,7 +1354,7 @@ class TestSuite:
|
||||||
if tc.tc_filter and (plat in arch.platforms[:platform_limit] or all_plats or platform_filter):
|
if tc.tc_filter and (plat in arch.platforms[:platform_limit] or all_plats or platform_filter):
|
||||||
args = tc.extra_args[:]
|
args = tc.extra_args[:]
|
||||||
args.extend(["ARCH=" + plat.arch.name,
|
args.extend(["ARCH=" + plat.arch.name,
|
||||||
"BOARD=" + plat.name, "initconfig"])
|
"BOARD=" + plat.name, "config-sanitycheck"])
|
||||||
args.extend(extra_args)
|
args.extend(extra_args)
|
||||||
# FIXME would be nice to use a common outdir for this so that
|
# FIXME would be nice to use a common outdir for this so that
|
||||||
# conf, gen_idt, etc aren't rebuilt for every combination,
|
# conf, gen_idt, etc aren't rebuilt for every combination,
|
||||||
|
@ -1362,8 +1362,8 @@ class TestSuite:
|
||||||
# each other since they all try to build them simultaneously
|
# each other since they all try to build them simultaneously
|
||||||
|
|
||||||
o = os.path.join(self.outdir, plat.name, tc.path)
|
o = os.path.join(self.outdir, plat.name, tc.path)
|
||||||
dlist[tc, plat, tc.name.split("/")[-1]] = os.path.join(o,".config")
|
dlist[tc, plat, tc.name.split("/")[-1]] = os.path.join(o,".config-sanitycheck")
|
||||||
goal = "_".join([plat.name, "_".join(tc.name.split("/")), "initconfig"])
|
goal = "_".join([plat.name, "_".join(tc.name.split("/")), "config-sanitycheck"])
|
||||||
mg.add_build_goal(goal, os.path.join(ZEPHYR_BASE, tc.code_location), o, args)
|
mg.add_build_goal(goal, os.path.join(ZEPHYR_BASE, tc.code_location), o, args)
|
||||||
|
|
||||||
info("Building testcase defconfigs...")
|
info("Building testcase defconfigs...")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue