[llvm-commits] [llvm] r48591 - /llvm/branches/ggreif/parallelized-test/lib/llvm.exp
Gabor Greif
ggreif at gmail.com
Thu Mar 20 03:53:40 PDT 2008
Author: ggreif
Date: Thu Mar 20 05:53:30 2008
New Revision: 48591
URL: http://llvm.org/viewvc/llvm-project?rev=48591&view=rev
Log:
refactor the meat of running a test to its own procedure. no functionality changed.
Modified:
llvm/branches/ggreif/parallelized-test/lib/llvm.exp
Modified: llvm/branches/ggreif/parallelized-test/lib/llvm.exp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/ggreif/parallelized-test/lib/llvm.exp?rev=48591&r1=48590&r2=48591&view=diff
==============================================================================
--- llvm/branches/ggreif/parallelized-test/lib/llvm.exp (original)
+++ llvm/branches/ggreif/parallelized-test/lib/llvm.exp Thu Mar 20 05:53:30 2008
@@ -98,6 +98,13 @@
cd Output
foreach test $test_source_files {
+ run_one_test "$test"
+ }
+}
+
+# This procedure runs just one test from the test_source_files array.
+proc run_one_test { test } {
+ global srcroot objroot srcdir objdir subdir target_triplet llvmgcc_version
#Should figure out best way to set the timeout
#set timeout 40
@@ -219,7 +226,6 @@
}
}
}
- }
}
# This procedure provides an interface to check the LLVMGCC_LANGS makefile
More information about the llvm-commits
mailing list