Expose the testsuite in the Makefile

This commit is contained in:
Benedikt Heine 2018-06-19 16:56:48 +02:00
parent bc29d468ca
commit adc9348e80
2 changed files with 4 additions and 1 deletions

View File

@ -22,4 +22,4 @@ addons:
script: script:
- make -j - 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) - 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

View File

@ -99,6 +99,9 @@ i3status: ${OBJS}
$(CC) $(LDFLAGS) -o $@ $^ $(LIBS) $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
@echo " LD $@" @echo " LD $@"
test: i3status
LC_ALL=C ./travis/run-tests.pl
clean: clean:
rm -f *.o src/*.o rm -f *.o src/*.o