add python 3 support to tests

This commit is contained in:
Thomas Amland
2016-01-19 14:31:01 +01:00
parent 54f4bac383
commit d0ecbd70c8
8 changed files with 18 additions and 14 deletions

View File

@@ -178,7 +178,7 @@ def GetTestExecutablePath(executable_name, build_dir=None):
'Unable to find the test binary "%s". Please make sure to provide\n'
'a path to the binary via the --build_dir flag or the BUILD_DIR\n'
'environment variable.' % path)
print >> sys.stderr, message
sys.stdout.write(message)
sys.exit(1)
return path