commit | b3774753953918d39b28fb6d287e96f7fcd776a9 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Fri May 17 22:00:51 2019 -0600 |
committer | Simon Glass <sjg@chromium.org> | Wed Jul 10 16:52:58 2019 -0600 |
tree | d998f583abd17806d2c9c93d9ed9c0d14610ce28 | |
parent | 848cdb57f48f42215b7933e55aeb189d6daaa1ea [diff] |
binman: Read map files as text These files are text files so should be read as such, so that string-equality assertions work as expected. With this binman tests work correctly on Python 2 and Python 3: PYTHONPATH=/tmp/b/sandbox_spl/scripts/dtc/pylibfdt \ python ./tools/binman/binman -t Change first line of binman.py to end "python3": PYTHONPATH=~/cosarm/dtc/pylibfdt:tools/patman \ python3 ./tools/binman/binman -t Signed-off-by: Simon Glass <sjg@chromium.org>