[llvm-commits] [llvm] r50191 - in /llvm/trunk/test: Other/2007-06-16-Funcname.ll lib/llvm2cpp.exp
Anton Korobeynikov
asl at math.spbu.ru
Wed Apr 23 15:41:53 PDT 2008
Author: asl
Date: Wed Apr 23 17:41:53 2008
New Revision: 50191
URL: http://llvm.org/viewvc/llvm-project?rev=50191&view=rev
Log:
Fix tests due to llvm2cpp move to llc target
Modified:
llvm/trunk/test/Other/2007-06-16-Funcname.ll
llvm/trunk/test/lib/llvm2cpp.exp
Modified: llvm/trunk/test/Other/2007-06-16-Funcname.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Other/2007-06-16-Funcname.ll?rev=50191&r1=50190&r2=50191&view=diff
==============================================================================
--- llvm/trunk/test/Other/2007-06-16-Funcname.ll (original)
+++ llvm/trunk/test/Other/2007-06-16-Funcname.ll Wed Apr 23 17:41:53 2008
@@ -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() {
Modified: llvm/trunk/test/lib/llvm2cpp.exp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/lib/llvm2cpp.exp?rev=50191&r1=50190&r2=50191&view=diff
==============================================================================
--- llvm/trunk/test/lib/llvm2cpp.exp (original)
+++ llvm/trunk/test/lib/llvm2cpp.exp Wed Apr 23 17:41:53 2008
@@ -9,7 +9,7 @@
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 @@
}
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"
More information about the llvm-commits
mailing list