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

Re: [PATCH v1 2/2] travis-ci: disable GIT_TEST_HTTPD for macOS

From
Lars Schneider <larsxschneider@gmail.com>
Date
Nov 10, 2016, 11:07 UTC
Message-ID
<CBAF806C-7E1E-4490-A07C-F98DB7488F5F@gmail.com>
In-Reply-To
<20161107212004.x4y7bcl2p4chfkm6@sigill.intra.peff.net>
Show 19 quoted lines
> On 07 Nov 2016, at 22:20, Jeff King <peff@peff.net> wrote:
> 
> On Sun, Nov 06, 2016 at 10:42:36PM +0100, Lars Schneider wrote:
> 
>>> From: Lars Schneider <larsxschneider@gmail.com>
>>> 
>>> TravisCI changed their default macOS image from 10.10 to 10.11 [1].
>>> Unfortunately the HTTPD tests do not run out of the box using the
>>> pre-installed Apache web server anymore. Therefore we enable these
>>> tests only for Linux and disable them for macOS.
>> [...]
>> Hi Junio,
>> 
>> the patch above is one of two patches to make TravisCI pass, again.
>> Could you queue it?
> 
> I don't really mind disabling tests if they don't run on a platform. But
> the more interesting question to me is: why don't they run any more? Is
> there some config tweak needed, or is it an insurmountable problem?

I can't really remember what the problem was. I think some apache config required some module that was not present and I wasn't able to get this working quickly.

Show 9 quoted lines
> Using Apache in the tests has been the source of frequent portability
> problems and configuration headaches. I do wonder if we'd be better off
> using some small special-purpose web server (even a short perl script
> written around HTTP::Server::Simple or something).
> 
> On the other hand, testing against Apache approximates a more real-world
> case, which has value. It might be nice if our tests supported multiple
> web servers, but that would mean duplicating the config for each
> manually.

I agree that the real-world Apache test is more valuable and I really want to keep the Linux Apache test running. However, I don't think many people use macOS as Git web server and therefore I thought it is not worth the effort to investigate this problem further.

- Lars
Previous: Jeff KingNext: Jeff King
Message 16 of 35 in “Fix default macOS build locally and on Travis CI”
  1. 0/2 Fix default macOS build locally and on Travis CIlarsxschneider@gmail.com, Oct 17, 2016
  2. 1/2 config.mak.in: set NO_OPENSSL and APPLE_COMMON_CRYPTO for macOS >10.11larsxschneider@gmail.com, Oct 17, 2016
  3. Jeff KingOct 17, 2016
  4. Lars SchneiderNov 6, 2016
  5. Jeff KingNov 7, 2016
  6. Paul SmithNov 7, 2016
  7. Jeff KingNov 7, 2016
  8. Paul SmithNov 7, 2016
  9. Torsten BögershausenNov 9, 2016
  10. Lars SchneiderNov 9, 2016
  11. Torsten BögershausenNov 9, 2016
  12. Makefile: set NO_OPENSSL on macOS by defaultlarsxschneider@gmail.com, Nov 10, 2016
  13. 2/2 travis-ci: disable GIT_TEST_HTTPD for macOSlarsxschneider@gmail.com, Oct 17, 2016
  14. Lars SchneiderNov 6, 2016
  15. Jeff KingNov 7, 2016
  16. Lars SchneiderNov 10, 2016
  17. Jeff KingNov 10, 2016
  18. Junio C HamanoNov 10, 2016
  19. Jeff KingNov 10, 2016
  20. Junio C HamanoNov 10, 2016
  21. Jeff KingNov 10, 2016
  22. Lars SchneiderNov 11, 2016
  23. Jeff KingNov 11, 2016
  24. Lars SchneiderNov 11, 2016
  25. Jeff KingNov 11, 2016
  26. Heiko VoigtNov 15, 2016
  27. Lars SchneiderNov 15, 2016
  28. Jeff KingNov 15, 2016
  29. Heiko VoigtNov 16, 2016
  30. Torsten BögershausenNov 16, 2016
  31. Junio C HamanoNov 9, 2016
  32. Torsten BögershausenNov 10, 2016
  33. Lars SchneiderNov 10, 2016
  34. Junio C HamanoNov 10, 2016
  35. Lars SchneiderNov 11, 2016

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.