From: Brian Paul Date: Mon, 25 May 2015 15:42:04 +0000 (-0600) Subject: docs: update documentation about patch formatting, testing, etc X-Git-Tag: android-x86-6.0-r1~9809 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=d959885b9109878acc427b9321e46d8c6d133d1a;p=android-x86%2Fexternal-mesa.git docs: update documentation about patch formatting, testing, etc v2: correctly escape < and > chars. Reviewed-by: Thomas Helland --- diff --git a/docs/devinfo.html b/docs/devinfo.html index c7e4171a9cb..e068d87da13 100644 --- a/docs/devinfo.html +++ b/docs/devinfo.html @@ -124,13 +124,113 @@ src/mesa/state_tracker/st_glsl_to_tgsi.cpp can serve as examples.

Submitting patches

-You should always run the Mesa Testsuite before submitting patches. -The Testsuite can be run using the 'make check' command. All tests +The basic guidelines for submitting patches are: +

+ + + +

Patch formatting

+ +

+The basic rules for patch formatting are: +

+ + + + + +

Testing Patches

+ +

+It should go without saying that patches must be tested. In general, +do whatever testing is prudent. +

+ +

+You should always run the Mesa test suite before submitting patches. +The test suite can be run using the 'make check' command. All tests must pass before patches will be accepted, this may mean you have to update the tests themselves.

+Whenever possible and applicable, test the patch with +Piglit to +check for regressions. +

+ + +

Mailing Patches

+ +

Patches should be sent to the Mesa mailing list for review. When submitting a patch make sure to use git send-email rather than attaching patches to emails. Sending patches as attachments prevents people from being