unittests stop building in tree

This commit is contained in:
Daniel Agar 2016-04-21 17:28:21 -04:00 committed by Lorenz Meier
parent eae726e345
commit be391b4fe5
1 changed files with 1 additions and 1 deletions

View File

@ -245,7 +245,7 @@ ifeq ($(VECTORCONTROL),1)
endif
unittest: posix_sitl_default
@(cd unittests && cmake -G$(PX4_CMAKE_GENERATOR) && $(PX4_MAKE) $(PX4_MAKE_ARGS) && ctest -j2 --output-on-failure)
@(mkdir -p build_unittests && cd build_unittests && cmake -G$(PX4_CMAKE_GENERATOR) ../unittests && $(PX4_MAKE) $(PX4_MAKE_ARGS) && ctest -j2 --output-on-failure)
package_firmware:
@zip --junk-paths Firmware.zip `find . -name \*.px4`