Commit d8bc5628 authored by Ian Goldberg's avatar Ian Goldberg

Only build the test suite on Linux

The test suite currently uses Linux-specific features such as epoll.
Signed-off-by: default avatarDavid Goulet <dgoulet@ev0ke.net>
Signed-off-by: default avatarIan Goldberg <iang@cs.uwaterloo.ca>
parent b7de3dbf
......@@ -3,6 +3,10 @@
* tests/regression/client/Makefile.am:
* tests/unit/Makefile.am: Add LIBGCRYPT_CFLAGS to the test suite
* Makefile.am:
* configure.ac: Only build the test suite on Linux, since it
currently uses Linux-specific features such as epoll
2016-03-06
* Makefile.am: Add bootstrap to the tarball
......
ACLOCAL_AMFLAGS = -I config
SUBDIRS = src toolkit tests
SUBDIRS = src toolkit
if BUILD_TESTS
SUBDIRS += tests
endif
EXTRA_DIST = Protocol-v3.html UPGRADING packaging libotr.m4 libotr.pc.in bootstrap
......
......@@ -4,7 +4,8 @@
from there remote code execution) on 64-bit platforms
- Fix possible free() of an uninitialized pointer
- Be stricter about parsing v3 fragments
- Add a testsuite ("make check" to run it)
- Add a testsuite ("make check" to run it), but only on Linux for now,
since it uses Linux-specific features such as epoll
- Fix a memory leak when reading a malformed instance tag file
- Protocol documentation clarifications
......
......@@ -30,6 +30,17 @@ LT_INIT
AM_PATH_LIBGCRYPT(1:1.2.0,,AC_MSG_ERROR(libgcrypt 1.2.0 or newer is required.))
AC_CANONICAL_HOST
# Identify which OS we are building and do specific things based on the host
case $host_os in
*linux*)
HOST_OS=linux
;;
esac
# Build tests for now only for Linux.
AM_CONDITIONAL([BUILD_TESTS], [test x$HOST_OS = xlinux])
dnl 1:flags
dnl Taken from Tor's autoconf magic repository
AC_DEFUN([OTR_CHECK_CFLAGS], [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment