提交 4f1727a7 编写于 作者: S Simon Glass

dtoc: Add a stdout check in test_normalized_name()

This test captures output but does not always check it. Add the missing
code and drop the old comment.
Signed-off-by: NSimon Glass <sjg@chromium.org>
上级 893142aa
......@@ -171,8 +171,7 @@ class TestSrcScan(unittest.TestCase):
self.assertEqual([], aliases)
self.assertEqual(1, len(scan._missing_drivers))
self.assertEqual({'rockchip_rk3288_grf'}, scan._missing_drivers)
#'WARNING: the driver rockchip_rk3288_grf was not found in the driver list',
#stdout.getvalue().strip())
self.assertEqual('', stdout.getvalue().strip())
i2c = 'I2C_UCLASS'
compat = {'rockchip,rk3288-grf': 'ROCKCHIP_SYSCON_GRF',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册