1*82d3c075SDavid Tenty; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%pluginext --compile-custom --compile-command="%python %/s.py arg1 arg2" --output-prefix %t %s | FileCheck %s 261ed46c7SPetr Hosek; REQUIRES: plugins 347492919SAdam Nemet 447492919SAdam Nemet; Test that arguments are correctly passed in --compile-command. The output 547492919SAdam Nemet; of bugpoint includes the output of the custom tool, so we just echo the args 647492919SAdam Nemet; in the tool and check here. 747492919SAdam Nemet 847492919SAdam Nemet; CHECK: Error: arg1 arg2 947492919SAdam Nemet 1047492919SAdam Nemetdefine void @noop() { 1147492919SAdam Nemet ret void 1247492919SAdam Nemet} 13