[Mesa-dev] [PATCH mesa] docs/submittingpatches: add 'test each commit' instructions
Thomas Helland
thomashelland90 at gmail.com
Fri Sep 15 19:40:51 UTC 2017
This patch is:
Reviewed-by: Thomas Helland <thomashelland90 at gmail.com>
2017-09-15 19:09 GMT+02:00 Eric Engestrom <eric.engestrom at imgtec.com>:
> Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
> ---
> docs/submittingpatches.html | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
>
> diff --git a/docs/submittingpatches.html b/docs/submittingpatches.html
> index ecf9590a95..0581391b29 100644
> --- a/docs/submittingpatches.html
> +++ b/docs/submittingpatches.html
> @@ -151,6 +151,18 @@ <h2 id="testing">Testing Patches</h2>
> to check for regressions.
> </p>
>
> +<p>
> +As mentioned at the begining, patches should be bisectable.
> +A good way to test this is to make use of the `git rebase` command,
> +to run your tests on each commit. Assuming your branch is based off
> +<code>origin/master</code>, you can run:
> +<pre>
> +$ git rebase --interactive --exec "make check" origin/master
> +</pre>
> +replacing <code>"make check"</code> with whatever other test you want to
> +run.
> +</p>
> +
>
> <h2 id="mailing">Mailing Patches</h2>
>
> --
> Cheers,
> Eric
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list