Skip to content

Commit fea39aa

Browse files
committed
Revert "sanitycheck: deal with board that have no DTS"
PR zephyrproject-rtos#20204 broke master for boards without DTS PR zephyrproject-rtos#20365 tried to partially fix it, but the filtering in sanitycheck remained broken Let's quickly revert it to allow other PRs to come in, and then resubmit them in a separate PR. This reverts commit 556f3cb. Signed-off-by: Alberto Escolar Piedras <[email protected]>
1 parent b66ee9d commit fea39aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/sanitycheck

+2-2
Original file line numberDiff line numberDiff line change
@@ -1896,9 +1896,9 @@ class FilterBuilder(CMake):
18961896
filter_data.update(self.defconfig)
18971897
filter_data.update(self.cmake_cache)
18981898

1899-
dts_path = os.path.join(self.build_dir, "zephyr", self.platform.name + ".dts.pre.tmp")
1900-
if self.testcase and self.testcase.tc_filter and os.path.exists(dts_path):
1899+
if self.testcase and self.testcase.tc_filter:
19011900
try:
1901+
dts_path = os.path.join(self.build_dir, "zephyr", self.platform.name + ".dts.pre.tmp")
19021902
edt = edtlib.EDT(dts_path, [os.path.join(ZEPHYR_BASE, "dts", "bindings")])
19031903
res = expr_parser.parse(self.testcase.tc_filter, filter_data, edt)
19041904

0 commit comments

Comments
 (0)