Skip to content

Commit df0a5e4

Browse files
committed
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
2 parents ae92ac8 + ddcfc7c commit df0a5e4

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

t/test-lib.sh

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1502,6 +1502,14 @@ FreeBSD)
15021502
;;
15031503
esac
15041504

1505+
# Detect arches where a few things don't work
1506+
uname_m=$(uname -m)
1507+
case $uname_m in
1508+
parisc* | hppa*)
1509+
test_set_prereq HPPA
1510+
;;
1511+
esac
1512+
15051513
( COLUMNS=1 && test $COLUMNS = 1 ) && test_set_prereq COLUMNS_CAN_BE_1
15061514
test -z "$NO_PERL" && test_set_prereq PERL
15071515
test -z "$NO_PTHREADS" && test_set_prereq PTHREADS
@@ -1641,7 +1649,7 @@ run_with_limited_cmdline () {
16411649
}
16421650

16431651
test_lazy_prereq CMDLINE_LIMIT '
1644-
test_have_prereq !MINGW,!CYGWIN &&
1652+
test_have_prereq !HPPA,!MINGW,!CYGWIN &&
16451653
run_with_limited_cmdline true
16461654
'
16471655

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

16521660
test_lazy_prereq ULIMIT_STACK_SIZE '
1653-
test_have_prereq !MINGW,!CYGWIN &&
1661+
test_have_prereq !HPPA,!MINGW,!CYGWIN &&
16541662
run_with_limited_stack true
16551663
'
16561664

0 commit comments

Comments
 (0)