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:

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: Logo

You are commenting using your 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