summaryrefslogtreecommitdiffstats
path: root/llvm/test/BugPoint/compile-custom.ll
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2018-02-09 05:09:48 +0000
committerVedant Kumar <vsk@apple.com>2018-02-09 05:09:48 +0000
commit67fdb6b82a052a389c3b75f108196668ff18f86c (patch)
treec45c4b1b3dd3b1f238e3799909f554b933692daa /llvm/test/BugPoint/compile-custom.ll
parent787a3df9516b80160d7fb72e0e3d0ed4123ad45b (diff)
downloadbcm5719-llvm-67fdb6b82a052a389c3b75f108196668ff18f86c.tar.gz
bcm5719-llvm-67fdb6b82a052a389c3b75f108196668ff18f86c.zip
[bugpoint] Avoid noisy errors by passing a valid opt to tests
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). llvm-svn: 324703
Diffstat (limited to 'llvm/test/BugPoint/compile-custom.ll')
-rw-r--r--llvm/test/BugPoint/compile-custom.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/BugPoint/compile-custom.ll b/llvm/test/BugPoint/compile-custom.ll
index 847d1184f01..00447094374 100644
--- a/llvm/test/BugPoint/compile-custom.ll
+++ b/llvm/test/BugPoint/compile-custom.ll
@@ -1,4 +1,4 @@
-; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext --compile-custom --compile-command="%python %/s.py arg1 arg2" --output-prefix %t %s | FileCheck %s
+; 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
OpenPOWER on IntegriCloud