How to test a PR before it get integrated on NuttX

Let’s suppose someone just send a PR (Pull Request) to NuttX at github and you want to test it before it get merged.

Example, we want to test this PR: https://github.com/apache/incubator-nuttx/pull/1234

Then we do:

git fetch upstream pull/1234/head
git checkout FETCH_HEAD

And proceed with normal compilation.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s