forked from Archive/PX4-Autopilot
unit tests cleanup
-launch using top level make tests -ignore generated files
This commit is contained in:
parent
d02ca5dd45
commit
1e2be407dd
|
@ -109,7 +109,7 @@ script:
|
|||
&& echo 'Building UAVCAN node firmware..' && (git clone https://github.com/thiemar/vectorcontrol && cd vectorcontrol && BOARD=s2740vc_1_0 make -s && BOARD=px4esc_1_6 make -s && ../Tools/uavcan_copy.sh)
|
||||
&& echo 'Building NuttX px4fmu-v4 Firmware..' && make px4fmu-v4_default
|
||||
&& echo 'Building NuttX px4-stm32f4discovery Firmware..' && make px4-stm32f4discovery_default
|
||||
&& echo 'Running Tests..' && cd unittests && ./run_tests.sh; cd ..
|
||||
&& echo 'Running Tests..' && make tests
|
||||
;
|
||||
fi
|
||||
|
||||
|
|
7
Makefile
7
Makefile
|
@ -194,6 +194,13 @@ run_sitl_ros: sitl_deprecation
|
|||
check_format:
|
||||
@./Tools/check_code_style.sh
|
||||
|
||||
check:
|
||||
check_format
|
||||
tests
|
||||
|
||||
tests: posix_sitl_default
|
||||
@(cd unittests && ./run_tests.sh)
|
||||
|
||||
clean:
|
||||
@rm -rf build_*/
|
||||
@(cd NuttX/nuttx && make clean)
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
./obj/*
|
||||
gtest_main.a
|
||||
dsm_test
|
||||
mixer_test
|
||||
sf0x_test
|
||||
sbus2_test
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
cmake .
|
||||
make clean
|
||||
make all -j4
|
||||
make --no-print-directory clean
|
||||
make --no-print-directory all -j4
|
||||
|
||||
set -e
|
||||
|
||||
|
|
Loading…
Reference in New Issue