Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions en/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,5 @@
* [ualberta.xml](messages/ualberta.md)
* [uAvionix.xml](messages/uAvionix.md)
* [Contributing](contributing/contributing.md)
* [Testing](guide/testing.md)
* [Support](about/support.md)
18 changes: 18 additions & 0 deletions en/guide/testing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Testing

## Changes to Mavgen

Changes to the mavgen generator (in [ArduPilot/pymavlink](https://github.com/ArduPilot/pymavlink)) are tested on every PR prior to acceptance into the master branch.

You can run the test code yourself in Ubuntu.
1. Install additional dependencies for gtest:
```sh
sudo apt-get install cmake libgtest-dev
```
1. Run the test generator from the pymavlink directory:
```sh
cd pymavlink
./test_generator.sh
```
> **Tip** The tests require message definitions in **../message_definitions/** (i.e. at the level above the **pymavlink** directory).
This is how things are set up when you're running the tests from the *mavlink* repo.