diff options
Diffstat (limited to 'test/lit.cfg')
-rw-r--r-- | test/lit.cfg | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/lit.cfg b/test/lit.cfg index c018674..dc08c67 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -283,11 +283,11 @@ import subprocess try: llc_cmd = subprocess.Popen([os.path.join(llvm_tools_dir, 'llc'), '-version'], stdout = subprocess.PIPE) -except OSError, why: - print "Could not find llc in " + llvm_tools_dir +except OSError: + print("Could not find llc in " + llvm_tools_dir) exit(42) -if re.search(r'with assertions', llc_cmd.stdout.read()): +if re.search(r'with assertions', llc_cmd.stdout.read().decode('ascii')): config.available_features.add('asserts') llc_cmd.wait() |