configure: make lack of Chrome an error in the enable-cypress case

Change-Id: I1e2d4c884fc58334b3fdd5d43b1821eceeb08987
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87487
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
distro/collabora/code-4.2.0-4
Miklos Vajna 2020-01-27 09:07:19 +01:00
parent 38d2bd8768
commit 2afebbeb67
1 changed files with 1 additions and 2 deletions

View File

@ -888,8 +888,7 @@ AS_IF([test `uname -s` = "Linux"],
if test "$enable_cypress" = "yes"; then
AC_PATH_PROGS(CHROME, chrome google-chrome chromium, no)
if test "$CHROME" = "no"; then
# Only a warning till these tests are not part of toplevel 'make check'.
AC_MSG_WARN([chrome or chromium is required to run the JS tests, but not installed])
AC_MSG_ERROR([chrome or chromium is required to run the JS tests, but not installed])
fi
fi
])