]> git.saurik.com Git - apt.git/commitdiff
for consistency allow the usage of 'make test' instead of './run-tests'
authorDavid Kalnischkies <kalnischkies@gmail.com>
Wed, 17 Aug 2011 13:47:08 +0000 (15:47 +0200)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Wed, 17 Aug 2011 13:47:08 +0000 (15:47 +0200)
test/Makefile
test/integration/makefile [new file with mode: 0644]
test/libapt/makefile

index f918f7d2ea07a005f1ef63940585b65abc7dadad..da0a49b0c8f497e6892fb826cbf0068333f8ab81 100644 (file)
@@ -6,16 +6,11 @@ ifndef NOISY
 .SILENT:
 endif
 
-.PHONY: headers library clean veryclean all binary program doc
-all clean veryclean binary program dirs:
+.PHONY: headers library clean veryclean all binary program doc test
+all clean veryclean binary program dirs test:
        $(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
diff --git a/test/integration/makefile b/test/integration/makefile
new file mode 100644 (file)
index 0000000..fb12fe9
--- /dev/null
@@ -0,0 +1,10 @@
+# -*- make -*-
+BASE=../..
+SUBDIR=test/integration
+
+# Bring in the default rules
+include ../../buildlib/defaults.mak
+
+.PHONY: test
+test:
+       ./run-tests
index 366907d89f5523d65b9843546a0d80ba2ec1715d..b3f2f427437952a0b8cdad9696412abaf500e554 100644 (file)
@@ -6,6 +6,10 @@ BASENAME=_libapt_test
 # Bring in the default rules
 include ../../buildlib/defaults.mak
 
+.PHONY: test
+test:
+       ./run-tests
+
 # Program for testing getLanguageCode
 PROGRAM = getLanguages${BASENAME}
 SLIBS = -lapt-pkg