Skip to content
Snippets Groups Projects
Commit 1e2be407 authored by Daniel Agar's avatar Daniel Agar Committed by Lorenz Meier
Browse files

unit tests cleanup

-launch using top level make tests
-ignore generated files
parent d02ca5dd
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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)
......
./obj/*
gtest_main.a
dsm_test
mixer_test
sf0x_test
sbus2_test
......
#!/bin/sh
cmake .
make clean
make all -j4
make --no-print-directory clean
make --no-print-directory all -j4
set -e
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment