aboutsummaryrefslogtreecommitdiff
path: root/test/BugPoint/compile-custom.ll.py
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2014-11-24 09:08:18 +0000
committerDimitry Andric <dim@FreeBSD.org>2014-11-24 09:08:18 +0000
commit5ca98fd98791947eba83a1ed3f2c8191ef7afa6c (patch)
treef5944309621cee4fe0976be6f9ac619b7ebfc4c2 /test/BugPoint/compile-custom.ll.py
parent68bcb7db193e4bc81430063148253d30a791023e (diff)
Diffstat (limited to 'test/BugPoint/compile-custom.ll.py')
-rwxr-xr-xtest/BugPoint/compile-custom.ll.py10
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 000000000000..4b9b30caadc8
--- /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)