From adc9348e80cd0e0b1b5614433e33d1ff63e0e19d Mon Sep 17 00:00:00 2001 From: Benedikt Heine Date: Tue, 19 Jun 2018 16:56:48 +0200 Subject: [PATCH] Expose the testsuite in the Makefile --- .travis.yml | 2 +- Makefile | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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 -- 2.39.2