aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2014-12-20 18:50:51 +0100
committerLorenz Meier <lm@inf.ethz.ch>2014-12-20 18:50:51 +0100
commita4606dc2708b4ad8e463bbd515551ad8f58ee5d5 (patch)
treea19c375dbd064c3cad48b99cc02bf399b6df409a /Makefile
parenta18a6b3b6152622c3536704cf8b46da8e107b539 (diff)
downloadpx4-firmware-a4606dc2708b4ad8e463bbd515551ad8f58ee5d5.tar.gz
px4-firmware-a4606dc2708b4ad8e463bbd515551ad8f58ee5d5.tar.bz2
px4-firmware-a4606dc2708b4ad8e463bbd515551ad8f58ee5d5.zip
Add make tests to Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 809f54dd3..cfc8159b1 100644
--- a/Makefile
+++ b/Makefile
@@ -231,6 +231,13 @@ 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
# that's generated leaving only files that are in source control.