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

Re: [PATCH 1/5] t/t5800: skip if python version is older than 2.5

From
Brandon Casey <casey@nrlssc.navy.mil>
Date
Jun 2, 2010, 14:46 UTC
Message-ID
<771D_fbE1nXD6XdR0EsexE96n7NZJ1WvuJ__1wNJTGHLKi4dsHGk0g@cipher.nrlssc.navy.mil>
In-Reply-To
<4C05FC18.4090402@viscovery.net>
On 06/02/2010 01:37 AM, Johannes Sixt wrote:
Show 17 quoted lines
> Am 6/2/2010 2:13, schrieb Brandon Casey:
>> +if ! test_have_prereq PYTHON_2_5_OR_NEWER
>>  then
>> +	say 'skipping git remote-testgit tests: requires Python 2.5 or newer'
> ...
>> +++ b/t/test-lib.sh
>> +if test_have_prereq PYTHON && "$PYTHON_PATH" -c '
>> +import sys
>> +if sys.hexversion < 0x02050000:
>> +    sys.exit(1)
>> +'
>> +then
>> +	test_set_prereq PYTHON_2_5_OR_NEWER
>> +fi
> 
> Please don't burden all test script invocations with this check when the
> result is used in only one place.
Very good point.
Previous: Johannes SixtNext: Brandon Casey
Message 19 of 31 in “miscellaneous test suite fixes”
  1. 0/5 miscellaneous test suite fixesBrandon Casey, Jun 2, 2010
  2. 1/5 t/t5800: skip if python version is older than 2.5Brandon Casey, Jun 2, 2010
  3. Sverre RabbelierJun 2, 2010
  4. Ævar Arnfjörð BjarmasonJun 2, 2010
  5. Brandon CaseyJun 2, 2010
  6. Brandon CaseyJun 2, 2010
  7. Sverre RabbelierJun 2, 2010
  8. Brandon CaseyJun 2, 2010
  9. test suite work-around for python 2.5 requirementBrandon Casey, Jun 2, 2010
  10. 1/2 Makefile: add PYTHON_PATH to GIT-BUILD-OPTIONSBrandon Casey, Jun 2, 2010
  11. 2/2 t/t5800: skip if python version is older than 2.5Brandon Casey, Jun 2, 2010
  12. Sverre RabbelierAug 17, 2010
  13. Jonathan NiederAug 17, 2010
  14. Sverre RabbelierAug 17, 2010
  15. Jonathan NiederAug 17, 2010
  16. Sverre RabbelierAug 18, 2010
  17. Brandon CaseyAug 18, 2010
  18. Johannes SixtJun 2, 2010
  19. Brandon CaseyJun 2, 2010
  20. 2/5 git-request-pull.sh: remove -e switch to shell interpreter which breaks kshBrandon Casey, Jun 2, 2010
  21. Jonathan NiederJun 2, 2010
  22. Brandon CaseyJun 2, 2010
  23. Junio C HamanoJun 2, 2010
  24. 3/5 t/t5150: remove space from sed scriptBrandon Casey, Jun 2, 2010
  25. Jonathan NiederJun 2, 2010
  26. 4/5 t/t7006: ignore return status of shell's unset builtinBrandon Casey, Jun 2, 2010
  27. Jonathan NiederJun 2, 2010
  28. Johannes SixtJun 2, 2010
  29. Brandon CaseyJun 2, 2010
  30. 4/5 t/t7006: ignore return status of shell's unset builtinBrandon Casey, Jun 2, 2010
  31. 5/5 t/aggregate-results: accomodate systems with small max argument list lengthBrandon Casey, Jun 2, 2010

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.