summaryrefslogtreecommitdiff
path: root/tests/Makefile.am
diff options
context:
space:
mode:
authorDavid Wragg <david@rabbitmq.com>2011-09-21 12:10:21 +0100
committerDavid Wragg <david@rabbitmq.com>2011-09-21 12:10:21 +0100
commit7e45283246f935b797e1dc419f8882e0d39e3a6b (patch)
tree4b92111c480d53a01f3e76fdd8522392074492ac /tests/Makefile.am
parent6974ec212cbafdb3f315eb4579ece508d0724341 (diff)
downloadrabbitmq-c-github-ask-7e45283246f935b797e1dc419f8882e0d39e3a6b.tar.gz
Automatically run test_tables in 'make check'
This involves making test_tables self-contained. Previously, it would write to stdout, and that output had to be manually compared with test_tables.expected. Now the comparison is automated.
Diffstat (limited to 'tests/Makefile.am')
-rw-r--r--tests/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 3bd5e6e..c6c4ed9 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,4 +1,6 @@
-noinst_PROGRAMS = test_tables
+check_PROGRAMS = test_tables
+TESTS = $(check_PROGRAMS)
+EXTRA_DIST = test_tables.expected
AM_CFLAGS = -I$(top_srcdir)/librabbitmq