move parameter unittest into systemcmds

This commit is contained in:
Daniel Agar
2017-06-12 12:18:53 -04:00
parent f26cd01d16
commit 4937449890
22 changed files with 210 additions and 388 deletions
+5 -9
View File
@@ -305,26 +305,22 @@ format:
# Testing
# --------------------------------------------------------------------
.PHONY: unittest run_tests_posix tests tests_coverage
unittest:
echo "UNIT TEST DISABLED"
.PHONY: run_tests_posix tests tests_coverage
run_tests_posix:
$(MAKE) --no-print-directory posix_sitl_default test_results
tests: unittest run_tests_posix
tests: run_tests_posix
tests_coverage:
@$(MAKE) --no-print-directory posix_sitl_default test_coverage_genhtml PX4_CMAKE_BUILD_TYPE=Coverage
coveralls_upload:
@cpp-coveralls --include src/ \
--exclude src/lib/DriverFramework \
--exclude src/lib/ecl \
--exclude src/lib/Matrix \
--exclude=src/lib/DriverFramework \
--exclude=src/lib/ecl \
--exclude=src/lib/Matrix \
--exclude=src/modules/uavcan/libuavcan \
--exclude-pattern ".*/unittests/googletest/.*" \
--root . --build-root build_posix_sitl_default/ --follow-symlinks
codecov_upload: