[llvm-commits] CVS: llvm/test/Regression/dg.exp
Tanya Brethour
tbrethou at cs.uiuc.edu
Sat Nov 6 21:03:07 PST 2004
Changes in directory llvm/test/Regression:
dg.exp updated: 1.1 -> 1.2
---
Log message:
With the changes to these files, the Regression test suite should be tested by dejagnu without anyproblem.
Some variables could be made global.
---
Diffs of the changes: (+6 -4)
Index: llvm/test/Regression/dg.exp
diff -u llvm/test/Regression/dg.exp:1.1 llvm/test/Regression/dg.exp:1.2
--- llvm/test/Regression/dg.exp:1.1 Sat Nov 6 15:09:28 2004
+++ llvm/test/Regression/dg.exp Sat Nov 6 23:02:56 2004
@@ -1,7 +1,9 @@
load_lib llvm-dg.exp
+
#Recurse through all subdirectories without having to add to a .exp to each subdir
-proc regression-runtest { directories srcdir subdir target_triplet} {
+#Eventually make target_triplet,llvmgcc,llvmgxx to be globals
+proc regression-runtest { directories srcdir subdir target_triplet llvmgcc llvmgxx prcontext} {
foreach dir $directories {
@@ -14,13 +16,13 @@
set new_subdir $dir
cd [file join $new_srcdir/$new_subdir]
- regression-runtest [lsort [glob -nocomplain -types {d} *]] $new_srcdir $new_subdir $target_triplet
+ regression-runtest [lsort [glob -nocomplain -types {d} *]] $new_srcdir $new_subdir $target_triplet $llvmgcc $llvmgxx $prcontext
}
}
- llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.ll]] $srcdir $subdir $target_triplet
+ llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext
}
cd [file join $srcdir/$subdir]
-regression-runtest [lsort [glob -nocomplain -types {d} *]] $srcdir $subdir $target_triplet
+regression-runtest [lsort [glob -nocomplain -types {d} *]] $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext
More information about the llvm-commits
mailing list