diff options
author | Adam Nemet <anemet@apple.com> | 2014-03-10 16:58:54 +0000 |
---|---|---|
committer | Adam Nemet <anemet@apple.com> | 2014-03-10 16:58:54 +0000 |
commit | 866797dc2ce3fe4bb3864211f23a01c49e59611d (patch) | |
tree | bda4979086121d38ef903cd463a739ed976ad990 /test/BugPoint/compile-custom.ll.py | |
parent | bdb05aa392c6931872e085baee6e4b2b01872a8e (diff) | |
download | llvm-866797dc2ce3fe4bb3864211f23a01c49e59611d.tar.gz llvm-866797dc2ce3fe4bb3864211f23a01c49e59611d.tar.bz2 llvm-866797dc2ce3fe4bb3864211f23a01c49e59611d.tar.xz |
[bugpoint] Add testcase for r203343.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203472 91177308-0d34-0410-b5e6-96231b3b80d8
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) |