mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-06 03:38:34 +00:00
33a891ee1f
If the tests don't use the in-tree opt, we're liable to see some silly error messages due to the version mismatch (missing flags, etc). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@324703 91177308-0d34-0410-b5e6-96231b3b80d8
13 lines
457 B
LLVM
13 lines
457 B
LLVM
; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext --compile-custom --compile-command="%python %/s.py arg1 arg2" --opt-command opt --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
|
|
}
|