[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[automake-commit] branch master updated: test: objc tests on openbsd.
From: |
Karl Berry |
Subject: |
[automake-commit] branch master updated: test: objc tests on openbsd. |
Date: |
Sun, 26 May 2024 18:36:09 -0400 |
This is an automated email from the git hooks/post-receive script.
karl pushed a commit to branch master
in repository automake.
View the commit online:
https://git.savannah.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=b5b6f240d9fceb40fbd4a7c958480bf971ed2608
The following commit(s) were added to refs/heads/master by this push:
new b5b6f240d test: objc tests on openbsd.
b5b6f240d is described below
commit b5b6f240d9fceb40fbd4a7c958480bf971ed2608
Author: Bogdan <bogdro_rep@gmx.us>
AuthorDate: Sun May 26 15:35:58 2024 -0700
test: objc tests on openbsd.
Fixes https://bugs.gnu.org/68179.
* t/objcxx-deps.sh: test for objc_getProperty and other
functions in the objc library.
* t/objcxx-minidemo.sh: likewise.
* t/strip2.sh (STRIP): use -x instead of --verbose to test
strip with multiple words, to work with openbsd (and aix) strip.
---
t/objcxx-deps.sh | 4 ++++
t/objcxx-minidemo.sh | 4 ++++
t/strip2.sh | 4 ++--
3 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/t/objcxx-deps.sh b/t/objcxx-deps.sh
index 1f39507fd..519c33244 100644
--- a/t/objcxx-deps.sh
+++ b/t/objcxx-deps.sh
@@ -21,6 +21,10 @@
cat >> configure.ac << 'END'
AC_PROG_OBJCXX
+AC_CHECK_LIB([objc],[__objc_exec_class])
+AC_CHECK_LIB([objc],[objc_getProperty])
+AC_CHECK_LIB([objc],[objc_msg_lookup_sender])
+AC_CHECK_LIB([objc],[objc_msg_lookup])
AC_OUTPUT
END
diff --git a/t/objcxx-minidemo.sh b/t/objcxx-minidemo.sh
index ec0e8e129..f6f53c151 100644
--- a/t/objcxx-minidemo.sh
+++ b/t/objcxx-minidemo.sh
@@ -23,6 +23,10 @@ required=native
cat >> configure.ac << 'END'
AC_PROG_OBJCXX
AC_CONFIG_HEADERS([config.h])
+AC_CHECK_LIB([objc],[__objc_exec_class])
+AC_CHECK_LIB([objc],[objc_getProperty])
+AC_CHECK_LIB([objc],[objc_msg_lookup_sender])
+AC_CHECK_LIB([objc],[objc_msg_lookup])
AC_OUTPUT
END
diff --git a/t/strip2.sh b/t/strip2.sh
index a367dd0fe..e48dddc7a 100644
--- a/t/strip2.sh
+++ b/t/strip2.sh
@@ -15,7 +15,7 @@
# along with this program. If not, see <https://www.gnu.org/licenses/>.
# Ensure install-strip works when STRIP consists of more than one word.
-# This test needs GNU binutils strip. See sister test 'strip3.sh'.
+# See sister test 'strip3.sh'.
required='cc strip'
. test-init.sh
@@ -39,7 +39,7 @@ $ACLOCAL
$AUTOCONF
$AUTOMAKE -a
-./configure --prefix="$(pwd)/inst" STRIP='strip --verbose'
+./configure --prefix="$(pwd)/inst" STRIP='strip -x'
$MAKE
$MAKE install-strip
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [automake-commit] branch master updated: test: objc tests on openbsd.,
Karl Berry <=