From 81557af63b421310a5cfdc06da0c0479248866fc Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Fri, 15 Sep 2017 17:10:57 +0000 Subject: docs/submittingpatches: add 'test each commit' instructions Signed-off-by: Eric Engestrom Reviewed-by: Thomas Helland --- docs/submittingpatches.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'docs/submittingpatches.html') diff --git a/docs/submittingpatches.html b/docs/submittingpatches.html index ecf9590a951..0581391b295 100644 --- a/docs/submittingpatches.html +++ b/docs/submittingpatches.html @@ -151,6 +151,18 @@ Whenever possible and applicable, test the patch with to check for regressions.

+

+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 +origin/master, you can run: +

+$ git rebase --interactive --exec "make check" origin/master
+
+replacing "make check" with whatever other test you want to +run. +

+

Mailing Patches

-- cgit v1.2.3