[llvm-commits] CVS: llvm-test/configure

Reid Spencer reid at x10sys.com
Wed Dec 21 18:10:38 PST 2005



Changes in directory llvm-test:

configure updated: 1.30 -> 1.31
---
Log message:

Fix PR678: http://llvm.cs.uiuc.edu/PR678 :
Use the 4th argument to CHECK_PROGRAM_SANITY in order to turn a failed
sanity check into a warning instead of an error.


---
Diffs of the changes:  (+9 -3)

 configure |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)


Index: llvm-test/configure
diff -u llvm-test/configure:1.30 llvm-test/configure:1.31
--- llvm-test/configure:1.30	Tue Nov  8 15:13:45 2005
+++ llvm-test/configure	Wed Dec 21 20:10:25 2005
@@ -19287,12 +19287,18 @@
   if test -z "$sanity" ; then
     echo "$as_me:$LINENO: result: no" >&5
 echo "${ECHO_T}no" >&6
-    { { echo "$as_me:$LINENO: error: Program f95 failed to pass sanity check." >&5
+    if test "1" -eq 1 ; then
+      { echo "$as_me:$LINENO: WARNING: Program f95 failed to pass sanity check." >&5
+echo "$as_me: WARNING: Program f95 failed to pass sanity check." >&2;}
+    else
+      { { echo "$as_me:$LINENO: error: Program f95 failed to pass sanity check." >&5
 echo "$as_me: error: Program f95 failed to pass sanity check." >&2;}
    { (exit 1); exit 1; }; }
-  fi
-  echo "$as_me:$LINENO: result: yes" >&5
+    fi
+  else
+    echo "$as_me:$LINENO: result: yes" >&5
 echo "${ECHO_T}yes" >&6
+  fi
 else
   echo "$as_me:$LINENO: result: not found" >&5
 echo "${ECHO_T}not found" >&6






More information about the llvm-commits mailing list