summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2011-08-17 14:35:58 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2011-08-17 14:35:58 +0200
commit9edcd9adcecc4f0c2a8e1744c2fbc7c38e3397e6 (patch)
treeab0c67681f1b6c4505685edae94e745041609bdc /test
parent1e08114a73d9b79904eff1f286c765f7065bcdc0 (diff)
build test-binaries by default and add a test target to toplevel
Diffstat (limited to 'test')
-rw-r--r--test/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile
new file mode 100644
index 000000000..f918f7d2e
--- /dev/null
+++ b/test/Makefile
@@ -0,0 +1,21 @@
+# -*- make -*-
+
+# This is the top level test makefile for APT, it recurses to each lower
+# level make file and runs it with the proper target
+ifndef NOISY
+.SILENT:
+endif
+
+.PHONY: headers library clean veryclean all binary program doc
+all clean veryclean binary program dirs:
+ $(MAKE) -C libapt $@
+ $(MAKE) -C interactive-helper $@
+
+# Some very common aliases
+.PHONY: maintainer-clean dist-clean distclean pristine sanity
+maintainer-clean dist-clean distclean pristine sanity: veryclean
+
+
+.PHONY: test
+test:
+ ./libapt/run-tests