summaryrefslogtreecommitdiff
path: root/autoconf
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-11-07 23:29:39 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-11-07 23:29:39 +0000
commit4b8f82fbe6c76f0bed5f424f8bcc28d6a6ff6b04 (patch)
tree333e885c4602d0ac9eb7e65c650883da2c0c4411 /autoconf
parentd09fbdc2e23b2de0cda83dee087c45a2c947b7d1 (diff)
downloadllvm-4b8f82fbe6c76f0bed5f424f8bcc28d6a6ff6b04.tar.gz
llvm-4b8f82fbe6c76f0bed5f424f8bcc28d6a6ff6b04.tar.bz2
llvm-4b8f82fbe6c76f0bed5f424f8bcc28d6a6ff6b04.tar.xz
Add the RUNTEST autoconf onfiguration variable for Deja-gnu support. This
tool runs Deja-gnu test suites. The 'make' variable RUNTEST is now set automatically in the Makefile.config file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17599 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf')
-rw-r--r--autoconf/configure.ac10
1 files changed, 6 insertions, 4 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index b0913df5cb..613c8a7feb 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -218,15 +218,17 @@ case "$etags_version" in
esac
AC_SUBST(ETAGSFLAGS,$ETAGSFLAGS)
AC_PATH_PROG(PYTHON,[python],[true python])
-if test "$PYTHON" = "false"
-then
+if test "$PYTHON" = "false" ; then
AC_MSG_WARN([Python is required for the test suite, but it was not found])
fi
AC_PATH_PROG(QMTEST,[qmtest],[true qmtest])
-if test "$QMTEST" = "false"
-then
+if test "$QMTEST" = "false" ; then
AC_MSG_WARN([QMTest is required for the test suite, but it was not found])
fi
+AC_PATH_PROG(RUNTEST,[runtest],[true runtest])
+if test "$RUNTEST" = "false" ; then
+ AC_MSG_WARN([runtest (Deja-Gnu) is required for the test sute, but it was not found])
+fi
dnl Verify that the version of python available is high enough for qmtest
pyversion=`$PYTHON -V 2>&1 | cut -d\ -f2`