]> arthur.barton.de Git - bup.git/blobdiff - GNUmakefile
README: fix and simplify cirrus badges
[bup.git] / GNUmakefile
index f648dfb65fd7f997d561027f61d7fdeb167528c0..30f1b3a1cacab7f09f61da6c57f7e7c3c579d58c 100644 (file)
@@ -206,15 +206,16 @@ get_parallel_n = $(patsubst -j%,%,$(parallel_opt))
 maybe_specific_n = $(if $(filter -j%,$(parallel_opt)),-n$(get_parallel_n))
 xdist_opt = $(if $(filter -j,$(parallel_opt)),-nauto,$(maybe_specific_n))
 
-lint: dev/bup-python
+lint: dev/bup-exec dev/bup-python
        ./pylint
 
 test: all test/tmp dev/python lint
-        if test yes = "$$(dev/python -c 'import xdist; print("yes")' 2>/dev/null)"; then \
+       ./bup features
+       if test yes = "$$(dev/python -c 'import xdist; print("yes")' 2>/dev/null)"; then \
           (set -x; ./pytest $(xdist_opt);) \
-        else \
-          (set -x; ./pytest;) \
-        fi
+       else \
+         (set -x; ./pytest;) \
+       fi
 
 stupid:
        PATH=/bin:/usr/bin $(MAKE) test