diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2014-11-24 09:08:18 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2014-11-24 09:08:18 +0000 |
commit | 5ca98fd98791947eba83a1ed3f2c8191ef7afa6c (patch) | |
tree | f5944309621cee4fe0976be6f9ac619b7ebfc4c2 /test/BugPoint/compile-custom.ll | |
parent | 68bcb7db193e4bc81430063148253d30a791023e (diff) |
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 000000000000..d152f08626f8 --- /dev/null +++ b/test/BugPoint/compile-custom.ll @@ -0,0 +1,12 @@ +; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext --compile-custom --compile-command="%python %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 +} |