[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: git: test suite fails on hppa, in run_with_limited_stack



On 2020-05-12 3:39 a.m., Greg Price wrote:
> I think it would indeed be sensible to simply disable these test cases
> on hppa. Here's how the prereq for them is defined:
> """
> test_lazy_prereq ULIMIT_STACK_SIZE '
>         test_have_prereq !MINGW,!CYGWIN &&
>         run_with_limited_stack true
> '
> """
>
> So perhaps that `!MINGW,!CYGWIN` bit can be straightforwardly extended
> to skip these tests on hppa too. If somebody would like to find the
> right incantation to put there for hppa, and test that it works, then
> I think that may be enough to get the Git test suite passing again on
> hppa.
MINGW appears to be set in t/test-lib.sh.

On Linux, the string generated with "uname -m" is either parisc or parisc64.  This could be used to set HPPA.

On HP-UX, the situation is more complicated but I think most model names include the string 9000.

-- 
John David Anglin  dave.anglin@bell.net


Reply to: