mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-31 17:42:40 +00:00
Fix tests due to llvm2cpp move to llc target
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50191 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8d3e74ed49
commit
488fe315ea
@ -1,4 +1,4 @@
|
||||
; RUN: llvm-as < %s | llvm2cpp -funcname=WAKKA | not grep makeLLVMModule
|
||||
; RUN: llvm-as < %s | llc -march=cpp -cppfname=WAKKA | not grep makeLLVMModule
|
||||
; PR1515
|
||||
|
||||
define void @foo() {
|
||||
|
@ -9,7 +9,7 @@ proc llvm2cpp-test { files } {
|
||||
global subdir llvmtoolsdir llvmlibsdir objdir srcdir objroot srcroot
|
||||
set timeout 30
|
||||
set path [file join $objdir $subdir]
|
||||
set llvm2cpp [file join $llvmtoolsdir llvm2cpp ]
|
||||
set llc [file join $llvmtoolsdir llc ]
|
||||
set llvmas [file join $llvmtoolsdir llvm-as ]
|
||||
set llvmdis [file join $llvmtoolsdir llvm-dis ]
|
||||
|
||||
@ -65,7 +65,7 @@ proc llvm2cpp-test { files } {
|
||||
}
|
||||
|
||||
set retval [ catch {
|
||||
exec -keepnewline $llvm2cpp -f -o $generated < $bytecode 2>/dev/null } msg]
|
||||
exec -keepnewline $llc -march=cpp -f -o $generated < $bytecode 2>/dev/null } msg]
|
||||
|
||||
if { $retval != 0 } {
|
||||
fail "$test: llvm2cpp returned $retval\n$msg"
|
||||
|
Loading…
x
Reference in New Issue
Block a user