Brian Gesiak | 5cc8920 | 2018-12-10 00:56:13 +0000 | [diff] [blame] | 1 | ; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext --compile-custom --compile-command="%python %/s.py arg1 arg2" --output-prefix %t %s | FileCheck %s |
Petr Hosek | 61ed46c | 2019-05-17 06:41:04 +0000 | [diff] [blame^] | 2 | ; REQUIRES: plugins |
Adam Nemet | 4749291 | 2014-03-10 16:58:54 +0000 | [diff] [blame] | 3 | |
Adam Nemet | 4749291 | 2014-03-10 16:58:54 +0000 | [diff] [blame] | 4 | ; 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 | |
| 10 | define void @noop() { |
| 11 | ret void |
| 12 | } |