Expose the sanity.

llvm-svn: 32193
This commit is contained in:
Reid Spencer 2006-12-04 20:28:07 +00:00
parent faa1b54104
commit add30c8a43

View File

@ -14,6 +14,7 @@ if test "$?" -eq 0 -a -x "$sanity_path" ; then
sanity=`$1 $2 2>&1 | grep "$3"`
if test -z "$sanity" ; then
AC_MSG_RESULT([no])
sanity="0"
if test "$4" -eq 1 ; then
AC_MSG_WARN([Program ]$1[ failed to pass sanity check.])
else
@ -21,6 +22,7 @@ if test "$?" -eq 0 -a -x "$sanity_path" ; then
fi
else
AC_MSG_RESULT([yes])
sanity="1"
fi
else
AC_MSG_RESULT([not found])