[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r23583 - in Extractor: . src/main src/plugins
From: |
gnunet |
Subject: |
[GNUnet-SVN] r23583 - in Extractor: . src/main src/plugins |
Date: |
Mon, 3 Sep 2012 16:00:35 +0200 |
Author: grothoff
Date: 2012-09-03 16:00:35 +0200 (Mon, 03 Sep 2012)
New Revision: 23583
Modified:
Extractor/configure.ac
Extractor/src/main/Makefile.am
Extractor/src/plugins/Makefile.am
Log:
add option to disable running tests
Modified: Extractor/configure.ac
===================================================================
--- Extractor/configure.ac 2012-09-03 13:56:55 UTC (rev 23582)
+++ Extractor/configure.ac 2012-09-03 14:00:35 UTC (rev 23583)
@@ -380,6 +380,18 @@
LIBS=$LIBSOLD
+
+# should 'make check' run tests?
+AC_MSG_CHECKING(whether to run tests)
+AC_ARG_ENABLE([testruns],
+ [AS_HELP_STRING([--disable-testruns], [disable running tests on make check
(default is YES)])],
+ [enable_tests_run=${enableval}],
+ [enable_tests_run=yes])
+AC_MSG_RESULT($enable_test_run)
+AM_CONDITIONAL([ENABLE_TEST_RUN], [test "x$enable_tests_run" = "xyes"])
+
+
+
# Checks for header files.
AC_HEADER_STDC
AC_HEADER_DIRENT
Modified: Extractor/src/main/Makefile.am
===================================================================
--- Extractor/src/main/Makefile.am 2012-09-03 13:56:55 UTC (rev 23582)
+++ Extractor/src/main/Makefile.am 2012-09-03 14:00:35 UTC (rev 23583)
@@ -101,7 +101,9 @@
test_gzip \
test_bzip2
+if ENABLE_TEST_RUN
TESTS = $(check_PROGRAMS)
+endif
test_trivial_SOURCES = \
test_trivial.c
Modified: Extractor/src/plugins/Makefile.am
===================================================================
--- Extractor/src/plugins/Makefile.am 2012-09-03 13:56:55 UTC (rev 23582)
+++ Extractor/src/plugins/Makefile.am 2012-09-03 14:00:35 UTC (rev 23583)
@@ -221,11 +221,12 @@
$(TEST_TIFF) \
$(TEST_ZLIB)
+if ENABLE_TEST_RUN
TESTS = \
$(fuzz_tests) \
$(check_PROGRAMS)
+endif
-
noinst_LTLIBRARIES = \
libtest.la
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r23583 - in Extractor: . src/main src/plugins,
gnunet <=