diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2008-04-23 22:41:53 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2008-04-23 22:41:53 +0000 |
commit | 488fe315ea282f652f3c3aa78eaba4a80a0ac228 (patch) | |
tree | 9808a894184bd9568b680f0bef13fa98ff825e58 | |
parent | 8d3e74ed49a11cd787d281a4a7afaf0f829c3fcb (diff) |
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
-rw-r--r-- | test/Other/2007-06-16-Funcname.ll | 2 | ||||
-rw-r--r-- | test/lib/llvm2cpp.exp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/Other/2007-06-16-Funcname.ll b/test/Other/2007-06-16-Funcname.ll index a2cdd18d53..75b96e6c37 100644 --- a/test/Other/2007-06-16-Funcname.ll +++ b/test/Other/2007-06-16-Funcname.ll @@ -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() { diff --git a/test/lib/llvm2cpp.exp b/test/lib/llvm2cpp.exp index a0a023213f..d8a65ffc4b 100644 --- a/test/lib/llvm2cpp.exp +++ b/test/lib/llvm2cpp.exp @@ -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" |