From: Benedikt Heine Date: Tue, 19 Jun 2018 14:56:48 +0000 (+0200) Subject: Expose the testsuite in the Makefile X-Git-Url: https://git.sur5r.net/?p=i3%2Fi3status;a=commitdiff_plain;h=adc9348e80cd0e0b1b5614433e33d1ff63e0e19d Expose the testsuite in the Makefile --- diff --git a/.travis.yml b/.travis.yml index fc58769..71bc279 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,4 +22,4 @@ addons: script: - make -j - clang-format-3.5 -i $(find . -name "*.[ch]" | tr '\n' ' ') && git diff --exit-code || (echo 'Code was not formatted using clang-format!'; false) - - ./travis/run-tests.pl + - make test diff --git a/Makefile b/Makefile index 86830ef..5ec5871 100644 --- a/Makefile +++ b/Makefile @@ -99,6 +99,9 @@ i3status: ${OBJS} $(CC) $(LDFLAGS) -o $@ $^ $(LIBS) @echo " LD $@" +test: i3status + LC_ALL=C ./travis/run-tests.pl + clean: rm -f *.o src/*.o