diff options
Diffstat (limited to 'test/BugPoint/compile-custom.ll.py')
-rwxr-xr-x | test/BugPoint/compile-custom.ll.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/BugPoint/compile-custom.ll.py b/test/BugPoint/compile-custom.ll.py new file mode 100755 index 0000000000..32093557d6 --- /dev/null +++ b/test/BugPoint/compile-custom.ll.py @@ -0,0 +1,10 @@ +#!/usr/bin/env python + +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) |