Integration tests: Add Makefile target

This enables unfamiliar users to run the tests quickly without having to memorize all commandsline options.
This commit is contained in:
Lorenz Meier
2019-12-24 10:58:21 +01:00
parent cd75cc08d3
commit 663436fd47
4 changed files with 23 additions and 25 deletions
+2 -3
View File
@@ -12,9 +12,8 @@ jobs:
run: update-alternatives --install /usr/bin/python python /usr/bin/python3 10
- name: Install psutil
run: pip3 install psutil
- name: Build PX4 in simulation mode
- name: Build PX4 in SITL integration test mode
# Build all targets
run: make px4_sitl_default sitl_gazebo mavsdk_tests
# Check: Are the env variables needed?run: PX4_MAVSDK_TESTING=y DONT_RUN=1 make px4_sitl gazebo mavsdk_tests
run: DONT_RUN=1 make px4_sitl gazebo mavsdk_tests
- name: Run simulation tests
run: test/mavsdk_tests/mavsdk_test_runner.py --speed-factor 100