From 9edcd9adcecc4f0c2a8e1744c2fbc7c38e3397e6 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Wed, 17 Aug 2011 14:35:58 +0200 Subject: build test-binaries by default and add a test target to toplevel --- test/Makefile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 test/Makefile (limited to 'test/Makefile') 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 -- cgit v1.2.3