make distcheck should only succeed if check is installed

This commit is contained in:
Koichiro IWAO 2021-04-21 22:59:32 +09:00
parent 25cb991e86
commit 55f57e5a5d
No known key found for this signature in database
GPG Key ID: 03993B4065E7193B
3 changed files with 0 additions and 10 deletions

View File

@ -68,9 +68,5 @@ SUBDIRS = \
tests \ tests \
tools tools
if PERFORM_UNIT_TESTS
SUBDIRS += tests
endif
distclean-local: distclean-local:
-rm -f xrdp_configure_options.h -rm -f xrdp_configure_options.h

View File

@ -377,9 +377,6 @@ if test "x$perform_unit_tests" == "xyes"; then
else else
AC_MSG_NOTICE([libcheck not found, unit tests will be skipped]) AC_MSG_NOTICE([libcheck not found, unit tests will be skipped])
fi fi
AM_CONDITIONAL(PERFORM_UNIT_TESTS,
[test "x$perform_unit_tests" = "xyes"])
# -- end perform unit tests # -- end perform unit tests
AC_SUBST([moduledir], '${libdir}/xrdp') AC_SUBST([moduledir], '${libdir}/xrdp')

View File

@ -6,9 +6,6 @@ if XRDP_DEBUG
AM_CPPFLAGS += -DXRDP_DEBUG AM_CPPFLAGS += -DXRDP_DEBUG
endif endif
noinst_PROGRAMS = \
memtest
check_PROGRAMS = \ check_PROGRAMS = \
memtest memtest