Browse Source

Merge branch 'gp/hppa-stack-test-fix'

Platform dependent tweak to a test for HP-PA.

* gp/hppa-stack-test-fix:
  tests: skip small-stack tests on hppa architecture
maint
Junio C Hamano 5 years ago
parent
commit
df0a5e4eac
  1. 12
      t/test-lib.sh

12
t/test-lib.sh

@ -1502,6 +1502,14 @@ FreeBSD) @@ -1502,6 +1502,14 @@ FreeBSD)
;;
esac

# Detect arches where a few things don't work
uname_m=$(uname -m)
case $uname_m in
parisc* | hppa*)
test_set_prereq HPPA
;;
esac

( COLUMNS=1 && test $COLUMNS = 1 ) && test_set_prereq COLUMNS_CAN_BE_1
test -z "$NO_PERL" && test_set_prereq PERL
test -z "$NO_PTHREADS" && test_set_prereq PTHREADS
@ -1641,7 +1649,7 @@ run_with_limited_cmdline () { @@ -1641,7 +1649,7 @@ run_with_limited_cmdline () {
}

test_lazy_prereq CMDLINE_LIMIT '
test_have_prereq !MINGW,!CYGWIN &&
test_have_prereq !HPPA,!MINGW,!CYGWIN &&
run_with_limited_cmdline true
'

@ -1650,7 +1658,7 @@ run_with_limited_stack () { @@ -1650,7 +1658,7 @@ run_with_limited_stack () {
}

test_lazy_prereq ULIMIT_STACK_SIZE '
test_have_prereq !MINGW,!CYGWIN &&
test_have_prereq !HPPA,!MINGW,!CYGWIN &&
run_with_limited_stack true
'


Loading…
Cancel
Save