[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 05/10] objc++: add first basic test
From: |
Peter Breitenlohner |
Subject: |
Re: [PATCH 05/10] objc++: add first basic test |
Date: |
Wed, 2 May 2012 15:19:33 +0200 (CEST) |
User-agent: |
Alpine 2.00 (LNX 1167 2008-08-23) |
On Tue, 1 May 2012, Stefano Lattarini wrote:
From: Peter Breitenlohner <address@hidden>
* t/objcxx-basic.sh: New test.
Hi Stefano,
I have just build the automake git experimental/objc++ branch
(from a freshly checked out tree) and found three FAILs:
t/objc-basic.sh
t/objcxx-basic.sh
t/suffix.sh
In all three cases the reason seems to be that the sequence
$ACLOCAL
$AUTOMAKE
echo <some thing> >> configure.ac
$ACLOCAL --force
doesn't work as expected. When autom4te.cache is removed after modifying
configure.ac all three test succeed.
========================
diff --git a/t/objc-basic.sh b/t/objc-basic.sh
index ed30c69..6dddb0e 100755
--- a/t/objc-basic.sh
+++ b/t/objc-basic.sh
@@ -29,6 +29,8 @@ grep "add .*'AC_PROG_OBJC'" stderr
echo AC_PROG_OBJC >> configure.ac
+rm -rf autom4te.cache
+
$ACLOCAL --force
$AUTOMAKE
$EGREP '^\.SUFFIXES:.* \.m( |$)' Makefile.in
diff --git a/t/objcxx-basic.sh b/t/objcxx-basic.sh
index aa3c418..562add9 100755
--- a/t/objcxx-basic.sh
+++ b/t/objcxx-basic.sh
@@ -33,6 +33,8 @@ AC_PREREQ([2.65])
AC_PROG_OBJCXX
END
+rm -rf autom4te.cache
+
if $ACLOCAL --force; then
: We have a modern enough autoconf, go ahead.
elif test $? -eq 63; then
diff --git a/t/suffix.sh b/t/suffix.sh
index f9944cb..2c3e5e8 100755
--- a/t/suffix.sh
+++ b/t/suffix.sh
@@ -36,6 +36,7 @@ for use_arlib in false :; do
am_warns=
echo AM_PROG_AR >> configure.ac
: > ar-lib
+ rm -rf autom4te.cache
else
am_warns=-Wno-extra-portability
fi
========================
Regards
Peter Breitenlohner <address@hidden>
- [PATCH 00/10] Add support for Objective C++ in Automake, Stefano Lattarini, 2012/05/01
- [PATCH 01/10] objc++: initial support for Objective C++, Stefano Lattarini, 2012/05/01
- [PATCH 02/10] objc++: add documentation, Stefano Lattarini, 2012/05/01
- [PATCH 03/10] objc++: test support for '.mm' suffix in _SOURCES entries, Stefano Lattarini, 2012/05/01
- [PATCH 04/10] news: announce initial support for Objective C++, Stefano Lattarini, 2012/05/01
- [PATCH 05/10] objc++: add first basic test, Stefano Lattarini, 2012/05/01
- Re: [PATCH 05/10] objc++: add first basic test,
Peter Breitenlohner <=
- [PATCH 06/10] objc++, objc: add first semantic tests, Stefano Lattarini, 2012/05/01
- [PATCH 07/10] objc: reorganize basic tests, Stefano Lattarini, 2012/05/01
- [PATCH 08/10] objc, objc++: test automatic dependency tracking, Stefano Lattarini, 2012/05/01
- [PATCH 09/10] objc, objc++: add stress test, Stefano Lattarini, 2012/05/01
- [PATCH 10/10] objc, objc++: test support for compilation flags, Stefano Lattarini, 2012/05/01