From bee9090a9264b3de3ac34583dcd3cc72727fcccf Mon Sep 17 00:00:00 2001 From: theirix Date: Sat, 13 Aug 2016 13:35:14 +0300 Subject: Allowed to run tests by 'make check' --- Makefile.am | 2 +- configure.ac | 2 +- tests/Makefile.am | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 tests/Makefile.am diff --git a/Makefile.am b/Makefile.am index 80258e773..17c674812 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,6 @@ ACLOCAL_AMFLAGS = -I m4 -SUBDIRS = src/lib example +SUBDIRS = src/lib example tests pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = libndpi.pc diff --git a/configure.ac b/configure.ac index ee80e6812..70e3f1888 100644 --- a/configure.ac +++ b/configure.ac @@ -87,7 +87,7 @@ LIBS=$OLD_LIBS AC_CHECK_LIB(pthread, pthread_setaffinity_np, AC_DEFINE_UNQUOTED(HAVE_PTHREAD_SETAFFINITY_NP, 1, [libc has pthread_setaffinity_np])) -AC_CONFIG_FILES([Makefile src/lib/Makefile example/Makefile libndpi.pc]) +AC_CONFIG_FILES([Makefile src/lib/Makefile example/Makefile tests/Makefile libndpi.pc]) AC_CONFIG_HEADERS(config.h) AC_SUBST(GIT_RELEASE) AC_SUBST(SVN_DATE) diff --git a/tests/Makefile.am b/tests/Makefile.am new file mode 100644 index 000000000..f0836970b --- /dev/null +++ b/tests/Makefile.am @@ -0,0 +1 @@ +TESTS = do.sh -- cgit v1.2.3