blob: d152f08626f8bd8184da1ae1c64f6b4407e61074 [file] [log] [blame]
NAKAMURA Takumi767ee962014-07-11 14:44:10 +00001; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext --compile-custom --compile-command="%python %s.py arg1 arg2" --output-prefix %t %s | FileCheck %s
Adam Nemet47492912014-03-10 16:58:54 +00002; REQUIRES: loadable_module
3
Adam Nemet47492912014-03-10 16:58:54 +00004; Test that arguments are correctly passed in --compile-command. The output
5; of bugpoint includes the output of the custom tool, so we just echo the args
6; in the tool and check here.
7
8; CHECK: Error: arg1 arg2
9
10define void @noop() {
11 ret void
12}