diff options
author | Simon Glass <sjg@chromium.org> | 2020-12-28 20:34:48 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2021-01-05 12:26:35 -0700 |
commit | f62cea0e205c905632be3aefa82b10ef36ce8a25 (patch) | |
tree | 8057b53a42d1f148c8704173282bbced8a132d82 /tools/dtoc/test_dtoc.py | |
parent | 67b5ec54a5c19452c7aa33c693f281cc18a37d09 (diff) | |
download | u-boot-f62cea0e205c905632be3aefa82b10ef36ce8a25.zip u-boot-f62cea0e205c905632be3aefa82b10ef36ce8a25.tar.gz u-boot-f62cea0e205c905632be3aefa82b10ef36ce8a25.tar.bz2 |
dtoc: Use None to mean stdout
At present dtoc uses '-' internally to mean that output should go to
stdout. This is not necessary and None is more convenient. Update it.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/dtoc/test_dtoc.py')
-rwxr-xr-x | tools/dtoc/test_dtoc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/dtoc/test_dtoc.py b/tools/dtoc/test_dtoc.py index 4bf9044..41a10eb 100755 --- a/tools/dtoc/test_dtoc.py +++ b/tools/dtoc/test_dtoc.py @@ -875,7 +875,7 @@ U_BOOT_DEVICE(spl_test2) = { """Test output to stdout""" dtb_file = get_dtb_file('dtoc_test_simple.dts') with test_util.capture_sys_output() as _: - self.run_test(['struct'], dtb_file, '-') + self.run_test(['struct'], dtb_file, None) def test_no_command(self): """Test running dtoc without a command""" |