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 | |
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')
-rwxr-xr-x | test/BugPoint/compile-custom.ll | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/BugPoint/compile-custom.ll b/test/BugPoint/compile-custom.ll new file mode 100755 index 0000000000..e9016ffb87 --- /dev/null +++ b/test/BugPoint/compile-custom.ll @@ -0,0 +1,12 @@ +; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext --compile-custom --compile-command="%s.py arg1 arg2" --output-prefix %t %s | FileCheck %s +; REQUIRES: loadable_module + +; Test that arguments are correctly passed in --compile-command. The output +; of bugpoint includes the output of the custom tool, so we just echo the args +; in the tool and check here. + +; CHECK: Error: arg1 arg2 + +define void @noop() { + ret void +} |