]> arthur.barton.de Git - bup.git/commitdiff
make: add check-py2 and check-py3 targets
authorRob Browning <rlb@defaultvalue.org>
Sun, 3 Oct 2021 18:16:27 +0000 (13:16 -0500)
committerRob Browning <rlb@defaultvalue.org>
Sat, 9 Oct 2021 17:09:15 +0000 (12:09 -0500)
Signed-off-by: Rob Browning <rlb@defaultvalue.org>
GNUmakefile

index 0ba62119a7bf34af85bd76a7f37d2094b7b21e5e..f3245f59c872f5f94ee06cf1a2ee8f7c6a4fb961 100644 (file)
@@ -235,10 +235,14 @@ long-test: test
 long-check: export BUP_TEST_LEVEL=11
 long-check: check
 
-.PHONY: check-both
-check-both:
+.PHONY: check-py2 check-py3 check-both
+check-py3:
        $(MAKE) clean && BUP_PYTHON_CONFIG=python3-config $(MAKE) check
+check-py2:
        $(MAKE) clean && BUP_PYTHON_CONFIG=python2.7-config $(MAKE) check
+check-both:
+       $(MAKE) check-py3
+       $(MAKE) check-py2
 
 .PHONY: Documentation/all
 Documentation/all: $(man_roff) $(man_html)