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

[PATCH 0/2] t/lib-git-svn.sh: improve svnserve tests with parallel make test

From
Todd Zullinger <tmz@pobox.com>
Date
Dec 1, 2017, 02:32 UTC
Message-ID
<20171201023239.26153-1-tmz@pobox.com>

These tests are not run by default nor are they enabled in travis-ci. I don't know how much testing they get in user or other packager builds.

I've been slowly increasing the test suite usage in fedora builds. I ran into this while testing locally with parallel make test. The official fedora builds don't run in parallel (yet), as even before I ran into this issue, builds on the fedora builders randomly failed too often. I'm hoping to eventually enable parallel tests by default though, since it's so much faster.

I'm not sure if there's any objection to changing the variable needed to enable the tests from SVNSERVE_PORT to GIT_TEST_SVNSERVE. The way SVNSERVE_PORT is set in this patch should allow the port to be set explicitly, in case someone requires that -- and they understand that it can fail if running parallel tests, of course. Whether that's a feature or a bug, I'm not sure. :)

The indentation of lib-git-svn.sh didn't use tabs consistently, in only a few places, so I cleaned that up first. I can drop that change if it's unwanted.

Todd Zullinger (2):
  t/lib-git-svn: whitespace cleanup
  t/lib-git-svn.sh: improve svnserve tests with parallel make test
 t/lib-git-svn.sh | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)
-- 
2.15.1
Next: Todd Zullinger
Message 1 of 17 in “t/lib-git-svn.sh: improve svnserve tests with parallel make test”
  1. 0/2 t/lib-git-svn.sh: improve svnserve tests with parallel make testTodd Zullinger, Dec 1, 2017
  2. 1/2 t/lib-git-svn: whitespace cleanupTodd Zullinger, Dec 1, 2017
  3. Jonathan NiederDec 1, 2017
  4. Todd ZullingerDec 1, 2017
  5. Jonathan NiederDec 1, 2017
  6. 2/2 t/lib-git-svn.sh: improve svnserve tests with parallel make testTodd Zullinger, Dec 1, 2017
  7. Jonathan NiederDec 1, 2017
  8. Todd ZullingerDec 1, 2017
  9. Jonathan NiederDec 1, 2017
  10. Todd ZullingerDec 1, 2017
  11. Eric WongDec 1, 2017
  12. Todd ZullingerDec 1, 2017
  13. Jonathan NiederDec 1, 2017
  14. Todd ZullingerDec 1, 2017
  15. 0/2 t/lib-git-svn.sh: improve svnserve tests with parallel make testTodd Zullinger, Dec 14, 2017
  16. Junio C HamanoDec 14, 2017
  17. Todd ZullingerDec 14, 2017

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.