mirror of
https://github.com/RPCS3/llvm.git
synced 2025-05-21 21:06:04 +00:00

Make sure all print statements are compatible with Python 2 and Python3 using the `from __future__ import print_function` statement. Differential Revision: https://reviews.llvm.org/D56249 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@350307 91177308-0d34-0410-b5e6-96231b3b80d8
13 lines
238 B
Python
Executable File
13 lines
238 B
Python
Executable File
#!/usr/bin/env python
|
|
|
|
from __future__ import print_function
|
|
|
|
import sys
|
|
|
|
# Currently any print-out from the custom tool is interpreted as a crash
|
|
# (i.e. test is still interesting)
|
|
|
|
print("Error: " + ' '.join(sys.argv[1:]))
|
|
|
|
sys.exit(1)
|