[llvm-commits] [llvm-gcc-4.2] r132907 - /llvm-gcc-4.2/trunk/gcc/testsuite/gcc.misc-tests/bprob.exp

Bill Wendling isanbard at gmail.com
Mon Jun 13 01:24:18 PDT 2011


Author: void
Date: Mon Jun 13 03:24:17 2011
New Revision: 132907

URL: http://llvm.org/viewvc/llvm-project?rev=132907&view=rev
Log:
Okay...try this to fix the buildbots.

Modified:
    llvm-gcc-4.2/trunk/gcc/testsuite/gcc.misc-tests/bprob.exp

Modified: llvm-gcc-4.2/trunk/gcc/testsuite/gcc.misc-tests/bprob.exp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/gcc.misc-tests/bprob.exp?rev=132907&r1=132906&r2=132907&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/gcc.misc-tests/bprob.exp (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/gcc.misc-tests/bprob.exp Mon Jun 13 03:24:17 2011
@@ -47,17 +47,18 @@
 # Load support procs.
 load_lib profopt.exp
 
-#set profile_options "-fprofile-arcs -ftest-coverage"
-#set feedback_options "-fbranch-probabilities"
-set profile_option "-fprofile-arcs -ftest-coverage"
-set feedback_option "-fbranch-probabilities"
+set profile_options "-fprofile-arcs -ftest-coverage"
+set feedback_options "-fbranch-probabilities"
 
-#foreach profile_option $profile_options feedback_option $feedback_options {
+foreach profile_option $profile_options feedback_option $feedback_options {
     foreach src [lsort [glob -nocomplain $srcdir/$subdir/bprob-*.c]] {
         # If we're only testing specific files and this isn't one of them, skip it.
         if ![runtest_file_p $runtests $src] then {
             continue
         }
+        if {[string compare $src bprob-2.c]} then {
+            continue
+        }
         profopt-execute $src
     }
-#}
+}





More information about the llvm-commits mailing list