]> arthur.barton.de Git - bup.git/commitdiff
GNUmakefile: run "bup features" during test
authorRob Browning <rlb@defaultvalue.org>
Sat, 11 Sep 2021 16:52:30 +0000 (11:52 -0500)
committerRob Browning <rlb@defaultvalue.org>
Sat, 11 Sep 2021 17:37:09 +0000 (12:37 -0500)
Provide additional information about what's being tested, particularly
in CI.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
GNUmakefile

index f648dfb65fd7f997d561027f61d7fdeb167528c0..2ed5b7ca24d5e162f804ea748a7cb9b4e1708b29 100644 (file)
@@ -210,11 +210,12 @@ lint: 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