[llvm-commits] CVS: llvm/test/lib/llvm-dg.exp

Reid Spencer reid at x10sys.com
Wed Apr 11 19:49:53 PDT 2007



Changes in directory llvm/test/lib:

llvm-dg.exp updated: 1.16 -> 1.17
---
Log message:

Make the shlibext and llvmlibsdir variables accessible.


---
Diffs of the changes:  (+5 -1)

 llvm-dg.exp |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletion(-)


Index: llvm/test/lib/llvm-dg.exp
diff -u llvm/test/lib/llvm-dg.exp:1.16 llvm/test/lib/llvm-dg.exp:1.17
--- llvm/test/lib/llvm-dg.exp:1.16	Wed Apr 11 15:57:39 2007
+++ llvm/test/lib/llvm-dg.exp	Wed Apr 11 21:49:30 2007
@@ -1,7 +1,7 @@
 proc llvm-runtest { programs } { 
     global srcroot objroot srcdir objdir subdir target_triplet prcontext 
     global llvmgcc llvmgxx global llvmgcc_version llvmgccmajvers 
-    global gccpath gxxpath compile_c compile_cxx link 
+    global gccpath gxxpath compile_c compile_cxx link shlibext llvmlibsdir
 
     set timeout 60
 
@@ -60,6 +60,10 @@
 		regsub -all {%compile_cxx} $new_runline "$compile_cxx" new_runline
 		#replace %link with C++ link command
 		regsub -all {%link} $new_runline "$link" new_runline
+		#replace %shlibext with shared library extension
+		regsub -all {%shlibext} $new_runline "$shlibext" new_runline
+		#replace %llvmlibsdir with configure library directory
+		regsub -all {%llvmlibsdir} $new_runline "$llvmlibsdir" new_runline
 		#replace %p with path to source, 
 		regsub -all {%p} $new_runline [file join $srcdir $subdir] new_runline
 		#replace %s with filename






More information about the llvm-commits mailing list