diff options
author | Simon Glass <sjg@chromium.org> | 2021-07-04 12:19:47 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2021-07-21 10:27:34 -0600 |
commit | 4f1727a7e31c192d294280b0379b522f57b54d31 (patch) | |
tree | 6daae7a9b9071c12ea75d22a35807c8749f6c54b /tools | |
parent | 893142aa3bce28155905594bb054b0f434cafdfd (diff) | |
download | u-boot-4f1727a7e31c192d294280b0379b522f57b54d31.tar.gz |
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: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/dtoc/test_src_scan.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/dtoc/test_src_scan.py b/tools/dtoc/test_src_scan.py index d6da03849f..4e38b25a2f 100644 --- a/tools/dtoc/test_src_scan.py +++ b/tools/dtoc/test_src_scan.py @@ -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', |