summaryrefslogtreecommitdiffstats
path: root/llvm/test/BugPoint/compile-custom.ll
diff options
context:
space:
mode:
authorMichal Gorny <mgorny@gentoo.org>2018-12-02 16:49:23 +0000
committerMichal Gorny <mgorny@gentoo.org>2018-12-02 16:49:23 +0000
commitfe71df5747e852e84e020b19526a749f0edebdf6 (patch)
treee223a9f7398c4a76027039da613f44808cffdfd5 /llvm/test/BugPoint/compile-custom.ll
parente8e4f09add9ce6d60eaefdbead1b3bf9b2719876 (diff)
downloadbcm5719-llvm-fe71df5747e852e84e020b19526a749f0edebdf6.tar.gz
bcm5719-llvm-fe71df5747e852e84e020b19526a749f0edebdf6.zip
[test] Fix BugPoint/compile-custom.ll to use detected python exec
Spawn the custom compile command in BugPoint/compile-custom.ll via %python rather than relying on implicit 'env python' shebang, in order to fix it on systems that don't have 'python' executable such as NetBSD. Differential Revision: https://reviews.llvm.org/D55161 llvm-svn: 348095
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 cb82a01383e..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="%/s.py arg1 arg2" --opt-command opt --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