docs/submittingpatches: add 'test each commit' instructions
authorEric Engestrom <eric.engestrom@imgtec.com>
Fri, 15 Sep 2017 17:10:57 +0000 (17:10 +0000)
committerEric Engestrom <eric@engestrom.ch>
Sat, 16 Sep 2017 23:21:31 +0000 (00:21 +0100)
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Thomas Helland <thomashelland90@gmail.com>
docs/submittingpatches.html

index ecf9590a9512d9ccf6300726b77cf692f2ef442a..0581391b2958253b8f4d74d1112650becd6c185f 100644 (file)
@@ -151,6 +151,18 @@ Whenever possible and applicable, test the patch with
 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>