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

Re: Interested in helping open source friends on HP-UX?

From
H.Merijn Brand <h.m.brand@xs4all.nl>
Date
Feb 20, 2015, 11:24 UTC
Message-ID
<20150220122407.4183490b@pc09.procura.nl>
In-Reply-To
<20150220104921.GA2467@peff.net>
On Fri, 20 Feb 2015 05:49:21 -0500, Jeff King <peff@peff.net> wrote:
Show 17 quoted lines
> On Fri, Feb 20, 2015 at 11:36:27AM +0100, Michael J Gruber wrote:
> 
> > > It's not quite so bad as you make out. We write the value to the
> > > GIT-BUILD-OPTIONS file during "make", no matter where it comes from, and
> > > load that in test-lib.sh. So:
> > > 
> > >   make NO_ICONV=Nope
> > >   cd t
> > >   ./t3901-i18n-patch.sh
> > > 
> > > works just fine (for this and for any of the other options we mark
> > > there).
> > 
> > It survives a cd, sure...
> 
> I think the interesting thing is that it survives running `./tXXXX`
> rather than running the test through make.
I always use prove
$ prove -v t1234.sh
Show 39 quoted lines
> > Now, change your config.mak before the cd and
> > forget the make. Not everyone does
> > 
> > make -C t t3901-i18n-patch.sh
> > 
> > Though, having just discovered that shell completion works for that
> > form, too, I may do it more often (and then complain about having to use
> > GIT_TEST_OPTS ;) )
> 
> Yeah, I never use "make tXXXX" myself. But nor would I expect the tests
> to respect a version of git I had not actually built. E.g., if you build
> with NO_PERL, and then remove NO_PERL from your config.mak but do _not_
> actually run "make", should that work? Ditto for NO_ICONV, for that
> matter. The tests must match the binary, and the best guess we have
> about the binary is the last thing we built.
> 
> Adding "git --build-options" would give us a better guess (it may not be
> what the user _wanted_ to test, but it is what they _are_ testing).
> 
> > > I suspect GIT_TEST_INSTALLED is not all that widely used, or somebody
> > > would have complained before. But if we really want to support it, I
> > > think the right thing is to bake GIT-BUILD-OPTIONS into the binary, so
> > > that "git --build-options" dumps it. It might also have value for
> > > debugging and forensics in general.
> > 
> > Yep, that would be helpful in general. I don't think we should worry
> > about GIT_TEST_INSTALLED too much. Who came up with that feature anyway...?
> 
> Clearly a crazy person. :) I am not saying it is a _bad_ idea. Only that
> the responsibility to make sure the installed version matches the
> current build parameters lies with the user (and for that matter, the
> current set of tests; we add new tests that would fail on old versions,
> and you cannot mix and match).
> 
> So an alternate explanation than "not widely used" is "all of the users
> of it are responsible individuals who do not make bogus bug reports to
> the list". :)
> 
> -Peff
-- 
H.Merijn Brand  http://tux.nl   Perl Monger  http://amsterdam.pm.org/
using perl5.00307 .. 5.21   porting perl5 on HP-UX, AIX, and openSUSE
http://mirrors.develooper.com/hpux/        http://www.test-smoke.org/
http://qa.perl.org   http://www.goldmark.org/jeff/stupid-disclaimers/
Previous: Jeff KingNext: H.Merijn Brand
Message 20 of 23 in “Interested in helping open source friends on HP-UX?”
  1. Junio C HamanoDec 11, 2014
  2. H.Merijn BrandFeb 18, 2015
  3. Michael J GruberFeb 18, 2015
  4. Jeff KingFeb 18, 2015
  5. Junio C HamanoFeb 18, 2015
  6. Jeff KingFeb 18, 2015
  7. Michael J GruberFeb 19, 2015
  8. H.Merijn BrandFeb 19, 2015
  9. Michael J GruberFeb 19, 2015
  10. Jeff KingFeb 19, 2015
  11. Michael J GruberFeb 19, 2015
  12. H.Merijn BrandFeb 19, 2015
  13. Michael J GruberMar 3, 2015
  14. H.Merijn BrandMar 3, 2015
  15. Michael J GruberMar 3, 2015
  16. H.Merijn BrandMar 3, 2015
  17. Jeff KingFeb 20, 2015
  18. Michael J GruberFeb 20, 2015
  19. Jeff KingFeb 20, 2015
  20. H.Merijn BrandFeb 20, 2015
  21. H.Merijn BrandFeb 18, 2015
  22. H.Merijn BrandFeb 18, 2015
  23. David AguilarFeb 21, 2015

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.