llvm.org GIT mirror llvm / 6109598
If we fail to find python or qmtest, give a warning message instead of an error message. This should hopefully allow our nightly tester to run, which does not run the QMTest tests at present. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8691 91177308-0d34-0410-b5e6-96231b3b80d8 John Criswell 16 years ago
2 changed file(s) with 6 addition(s) and 8 deletion(s). Raw diff Collapse all Expand all
355355 AC_PATH_PROG(PYTHON,[python],[false])
356356 if test ${PYTHON} = "false"
357357 then
358 AC_MSG_ERROR([python required but not found])
358 AC_MSG_WARN([python required but not found])
359359 fi
360360
361361 AC_PATH_PROG(QMTEST,[qmtest],[false])
362362 if test ${QMTEST} = "false"
363363 then
364 AC_MSG_ERROR([qmtest required but not found])
364 AC_MSG_WARN([qmtest required but not found])
365365 fi
366366
367367 dnl Verify that the version of python available is high enough for qmtest
1898218982
1898318983 if test ${PYTHON} = "false"
1898418984 then
18985 { { echo "$as_me:$LINENO: error: python required but not found" >&5
18986 echo "$as_me: error: python required but not found" >&2;}
18987 { (exit 1); exit 1; }; }
18985 { echo "$as_me:$LINENO: WARNING: python required but not found" >&5
18986 echo "$as_me: WARNING: python required but not found" >&2;}
1898818987 fi
1898918988
1899018989 # Extract the first word of "qmtest", so it can be a program name with args.
1902919028
1903019029 if test ${QMTEST} = "false"
1903119030 then
19032 { { echo "$as_me:$LINENO: error: qmtest required but not found" >&5
19033 echo "$as_me: error: qmtest required but not found" >&2;}
19034 { (exit 1); exit 1; }; }
19031 { echo "$as_me:$LINENO: WARNING: qmtest required but not found" >&5
19032 echo "$as_me: WARNING: qmtest required but not found" >&2;}
1903519033 fi
1903619034
1903719035 pyversion=`$PYTHON -V 2>&1 | cut -d\ -f2`