changeset 28698:c756b6791760

py3: convert prereq bytes to string in run-tests Without this, run-tests would generate: WARNING: Did not find prerequisite tool: b'python3.5'
author timeless <timeless@mozdev.org>
date Wed, 30 Mar 2016 05:26:51 +0000
parents d001d6d27570
children 5cc59dbd199f
files tests/run-tests.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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()