diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-05-25 04:39:35 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-05-25 04:39:35 +0200 |
commit | df0a5e4eace3c26c78a79f517e4670e78f680209 (patch) | |
tree | 456982157742a28973aed5b2c120160ba7ef32df /t/test-lib.sh | |
parent | Merge https://github.com/prati0100/git-gui (diff) | |
parent | tests: skip small-stack tests on hppa architecture (diff) | |
download | git-df0a5e4eace3c26c78a79f517e4670e78f680209.tar.xz git-df0a5e4eace3c26c78a79f517e4670e78f680209.zip |
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
Diffstat (limited to 't/test-lib.sh')
-rw-r--r-- | t/test-lib.sh | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh index d36b6ddc62..88bb797141 100644 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -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 () { } 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 () { } test_lazy_prereq ULIMIT_STACK_SIZE ' - test_have_prereq !MINGW,!CYGWIN && + test_have_prereq !HPPA,!MINGW,!CYGWIN && run_with_limited_stack true ' |