From: Wolfgang Denk Date: Tue, 18 Oct 2011 11:44:37 +0200 Subject: [U-Boot] [STATUS] "Quality" of patches / testing. In-Reply-To: <4E9D4552.5040506@gmail.com> References: <20111018062310.61320140797D@gemini.denx.de> <4E9D21F8.40100@gmail.com> <4E9D4552.5040506@gmail.com> Message-ID: <20111018094437.C16201408E9C@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Andreas, In message <4E9D4552.5040506@gmail.com> you wrote: > > We should first get a state of "all boards build clean" for a sort of > toolchains (I think arm is now at this state after a lot of tumult in > the last two releases). PowerPC has traditionally always been build-clean (all boards succeed to build, with very few [2...3] causing harmelss build warnings). Now ARM is close to that, too. MIPS has also always been building mostly fine. > This is some kind of CI as suggested by Lukasz Majewski. I also favor CI > for fast feedback to the submitter if his change breaks something. I'm not sure how to do that. To provide feedback to individual submitters, you would have to runn a full build cycle for each patch we apply. That would obviously be best, but I don't have machine power to do that. What I do is testing batches - say, after applying 20...30 patches, or after major changes. I have Jenkins running every night for a few selected CPU families, which already catches a number of issues, but even then it's directly pointing to a submitted patch. > I guess it will be doable to have some scripts/prepare-patch which runs > a) git format-patch > b) checkpatch on the patch > c) (configurable subset of) MAKEALL on some clean tree with that patch > applied > d) append the results to the patch > > This tool would implement some kind of CI but utilize the computing > power of submitter. Sounds good. Any takers? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Drun'? 'm not drun'! You woudn' dare call m' drun' if I was sober! - Terry Pratchett, _Men at Arms_