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

Re: Tests in Cygwin

From
Johannes Sixt <j.sixt@viscovery.net>
Date
May 8, 2009, 14:28 UTC
Message-ID
<4A044196.7050106@viscovery.net>
In-Reply-To
<4A043F7E.5070702@SierraAtlantic.com>
Don Slutz schrieb:
> So which should we go with? foo2() which does the original way or foof()
> which allows you to use ',' and '+', and spaces?
I'd say take Junio's original proposal (that separates with spaces), but use
     for prerequisite in $*      # split args at spaces
(including the comment!) instead of merely
     for prerequisite

I can certainly live with the quoting at the call sites of test_expect_success that is needed in the few cases where there is more than one prerequisite.

-- Hannes
Previous: Don SlutzNext: Alex Riesen
Message 14 of 16 in “Tests in Cygwin”
  1. Hannu KoivistoApr 17, 2009
  2. Don SlutzMay 6, 2009
  3. Junio C HamanoMay 6, 2009
  4. Johannes SixtMay 7, 2009
  5. Don SlutzMay 7, 2009
  6. Don SlutzMay 7, 2009
  7. Junio C HamanoMay 8, 2009
  8. Johannes SixtMay 8, 2009
  9. Jeff KingMay 8, 2009
  10. Johannes SixtMay 8, 2009
  11. Junio C HamanoMay 8, 2009
  12. Alex RiesenMay 8, 2009
  13. Don SlutzMay 8, 2009
  14. Johannes SixtMay 8, 2009
  15. Alex RiesenMay 8, 2009
  16. Junio C HamanoMay 8, 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.