git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Test that every revision builds before pushing changes?

From
Jeff King <peff@peff.net>
Date
Mar 26, 2009, 09:49 UTC
Message-ID
<20090326094900.GC14292@coredump.intra.peff.net>
In-Reply-To
<87ljqs7ioz.fsf@rimspace.net>
On Thu, Mar 26, 2009 at 08:10:52PM +1100, Daniel Pittman wrote:
Show 15 quoted lines
> For example, the responsible person for that testing could use the
> hypothetical (until someone tells me where to find it):
> 
>     git test public..test make test
> 
> Which would then effectively wrap:
> 
>     for each revision between public and private:
>          git checkout revision
>          make test
>          # report if that fails, allow fixing the commit or whatever
>          # then 'git test continue' to carry on...
> 
> That turn the process from a manual one to an automated one: it runs
> that command for every revision until it fails, or until they all pass.

I don't think such a script exists. There are continuous integration systems that support git, but I don't know if they actually check every commit.

-Peff
Previous: Daniel PittmanNext: Wincent Colaiuta
Message 6 of 7 in “Test that every revision builds before pushing changes?”
  1. Daniel PittmanMar 26, 2009
  2. Andreas EricssonMar 26, 2009
  3. Daniel PittmanMar 26, 2009
  4. Andreas EricssonMar 26, 2009
  5. Daniel PittmanMar 27, 2009
  6. Jeff KingMar 26, 2009
  7. Wincent ColaiutaMar 26, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.