From: Brian Paul Date: Mon, 25 May 2015 15:42:04 +0000 (-0600) Subject: docs: update documentation about patch formatting, testing, etc X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d959885b9109878acc427b9321e46d8c6d133d1a;p=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,12 +124,112 @@ 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