summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f64a776)
raw | patch | inline | side by side (parent: f64a776)
author | Sebastian Harl <sh@tokkee.org> | |
Sun, 1 Mar 2015 14:41:17 +0000 (15:41 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Sun, 1 Mar 2015 14:41:17 +0000 (15:41 +0100) |
README | patch | blob | history | |
t/Makefile.am | patch | blob | history |
index 7e493db39ec92d894938d87c1ea930a25f58c737..43f6f29aeab6e23bef9fb282f8d9e626a51abb16 100644 (file)
--- a/README
+++ b/README
-------
Unit and integration tests for SysDB are shipped along with the source code
- in the ‘t’ subdirectory. Run ‘make test’ to run all available tests.
+ in the ‘t’ subdirectory. Run ‘make test’ to run all available tests or use
+ the following commands to run unit and integration tests separately:
+
+ make test TESTS='$(UNIT_TESTS)'
+ make test TESTS='$(INTEGRATION_TESTS)'
Some tests require the ‘fopencookie’ function as provided by the GNU libc
library. It used used to mock I/O related functions. In case this function
diff --git a/t/Makefile.am b/t/Makefile.am
index f01e35bc9e9d35bd247a71548b0ba5dd9cba5154..3218c7b5aafc01d5ac2726c6d5df018dd9471134 100644 (file)
--- a/t/Makefile.am
+++ b/t/Makefile.am
#
if INTEGRATION_TESTING
-TESTS += \
+INTEGRATION_TESTS = \
integration/config.sh \
integration/ssl.sh \
integration/query.sh \
integration/matching.sh \
integration/filter.sh
+TESTS += $(INTEGRATION_TESTS)
+
check_LTLIBRARIES += integration/mock_plugin.la
integration_mock_plugin_la_SOURCES = integration/mock_plugin.c
# -rpath is a work-around to enforce a shared library