Add make tests to Makefile

This commit is contained in:
Lorenz Meier 2014-12-20 18:50:51 +01:00
parent a18a6b3b61
commit a4606dc270
1 changed files with 7 additions and 0 deletions

View File

@ -230,6 +230,13 @@ updatesubmodules:
testbuild:
$(Q) (cd $(PX4_BASE) && $(MAKE) distclean && $(MAKE) archives && $(MAKE) -j8)
#
# Unittest targets. Builds and runs the host-level
# unit tests.
.PHONY: tests
tests:
$(Q) (cd $(PX4_BASE)/unittests && $(MAKE) unittests)
#
# Cleanup targets. 'clean' should remove all built products and force
# a complete re-compilation, 'distclean' should remove everything