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

Re: [PATCH] t/t5800-remote-testpy: skip all tests if not built

From
Ramkumar Ramachandra <artagnon@gmail.com>
Date
Jun 18, 2013, 20:35 UTC
Message-ID
<CALkWK0=6ot9ZXEyMmO1ZtEXPi5H1JXXvG5j6yvBeE56H9zQBwg@mail.gmail.com>
In-Reply-To
<7vip1b40zb.fsf@alter.siamese.dyndns.org>
Junio C Hamano wrote:
> Sounds like making "make test" build it is a more correct approach,
> at least to me.  What am I missing?

How exactly? I'm not exactly competent in make, but this is what I understood from what you said (and it's obviously wrong):

diff --git a/Makefile b/Makefile
index 03524d0..da91937 100644
--- a/Makefile
+++ b/Makefile
@@ -580,6 +580,7 @@ TEST_PROGRAMS_NEED_X += test-svn-fe
 TEST_PROGRAMS_NEED_X += test-wildmatch

 TEST_PROGRAMS = $(patsubst %,%$X,$(TEST_PROGRAMS_NEED_X))
+TEST_PROGRAMS += git-remote-testpy

 # List built-in command $C whose implementation cmd_$C() is not in
 # builtin/$C.o but is linked in as part of some other command.
Previous: Junio C HamanoNext: Jeff King
Message 3 of 6 in “t/t5800-remote-testpy: skip all tests if not built”
  1. t/t5800-remote-testpy: skip all tests if not builtRamkumar Ramachandra, Jun 18, 2013
  2. Junio C HamanoJun 18, 2013
  3. Ramkumar RamachandraJun 18, 2013
  4. Jeff KingJun 21, 2013
  5. Ramkumar RamachandraJun 21, 2013
  6. Jeff KingJun 21, 2013

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.