py3: convert prereq bytes to string in run-tests
authortimeless <timeless@mozdev.org>
Wed, 30 Mar 2016 05:26:51 +0000
changeset 28698 c756b6791760
parent 28697 d001d6d27570
child 28699 5cc59dbd199f
py3: convert prereq bytes to string in run-tests Without this, run-tests would generate: WARNING: Did not find prerequisite tool: b'python3.5'
tests/run-tests.py
--- a/tests/run-tests.py	Mon Mar 28 12:50:56 2016 -0700
+++ b/tests/run-tests.py	Wed Mar 30 05:26:51 2016 +0000
@@ -2518,7 +2518,8 @@
             if found:
                 vlog("# Found prerequisite", p, "at", found)
             else:
-                print("WARNING: Did not find prerequisite tool: %s " % p)
+                print("WARNING: Did not find prerequisite tool: %s " %
+                      p.decode("utf-8"))
 
 if __name__ == '__main__':
     runner = TestRunner()