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

Re: [PATCH 2/2 v4] Git.pm: add test suite

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 18, 2008, 19:40 UTC
Message-ID
<7vve06y1j0.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<48594E42.2050402@gmail.com>
Lea Wiemann <lewiemann@gmail.com> writes:
Show 27 quoted lines
> Junio C Hamano wrote:
>> The system I first tried this did not have IO::String installed.
>
> My bad, I should've checked this before sending it off.  I guess we'll
> solve this in Michael's patch thread; don't expect a reply from me in
> the next 12h though, I'm way tired and utterly unproductive right now.
>
>> [test_external:] Can it become a bit easier to tell such a basic
>> problem apart from real test errors?  I needed to look into
>> /tmp/* to see where it is failing
>
> Hm, is your test output somehow different from the following?  It
> states the error quite clearly at the bottom.
> ...
> * expecting no stderr from previous command
> * FAIL 3: no stderr: Perl API
> 	perl ../t9700/test.pl
> 	Stderr is:
> 	Can't locate IO/String.pm in @INC (@INC contains:
> /home/lea/G/t/../perl/blib/lib
> /home/lea/G/t/../perl/blib/arch/auto/Git /home/lea/.perl/lib /etc/perl
> /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5
> /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10
> /usr/local/lib/site_perl .) at ../t9700/test.pl line 12.
> 	BEGIN failed--compilation aborted at ../t9700/test.pl line 12.
> 	# Looks like your test died before it could output anything.
> * failed 2 among 3 test(s)
Yeah, I do see "Can't locate IO/String.pm".  Thanks.
Previous: Lea WiemannNext: Olivier Marin
Message 5 of 13 in “t/test-lib.sh: add test_external and test_external_without_stderr”
  1. 1/2 t/test-lib.sh: add test_external and test_external_without_stderrLea Wiemann, Jun 17, 2008
  2. 2/2 Git.pm: add test suiteLea Wiemann, Jun 17, 2008
  3. Junio C HamanoJun 18, 2008
  4. Lea WiemannJun 18, 2008
  5. Junio C HamanoJun 18, 2008
  6. Olivier MarinJun 18, 2008
  7. Olivier MarinJun 18, 2008
  8. 1/2 t/test-lib.sh: add test_external and test_external_without_stderrLea Wiemann, Jun 19, 2008
  9. 2/2 Git.pm: add test suiteLea Wiemann, Jun 19, 2008
  10. 2/2 Git.pm: add test suiteLea Wiemann, Jun 19, 2008
  11. Jakub NarebskiJun 19, 2008
  12. Lea WiemannJun 19, 2008
  13. Junio C HamanoJun 19, 2008

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.