llvm.org GIT mirror llvm / 36917d9
Expose the sanity. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32193 91177308-0d34-0410-b5e6-96231b3b80d8 Reid Spencer 12 years ago
1 changed file(s) with 2 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
1313 sanity=`$1 $2 2>&1 | grep "$3"`
1414 if test -z "$sanity" ; then
1515 AC_MSG_RESULT([no])
16 sanity="0"
1617 if test "$4" -eq 1 ; then
1718 AC_MSG_WARN([Program ]$1[ failed to pass sanity check.])
1819 else
2021 fi
2122 else
2223 AC_MSG_RESULT([yes])
24 sanity="1"
2325 fi
2426 else
2527 AC_MSG_RESULT([not found])