[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 5/6] objc++: test more automatic dependency tracking
From: |
Stefano Lattarini |
Subject: |
Re: [PATCH 5/6] objc++: test more automatic dependency tracking |
Date: |
Mon, 30 Apr 2012 15:48:17 +0200 |
On 04/30/2012 03:31 PM, Peter Breitenlohner wrote:
> On Mon, 30 Apr 2012, Stefano Lattarini wrote:
>
>> Hi Peter, thanks for the patch. However, I've opted for a more
>> "semantic" approach, implemented by the attached test case.
>
> Hi Stefano,
>
> fine with me (except for a typo s/autocon,/autoconf,/. But please note that
> these tests will fail if gcc/g++ does not support Objective C/C++
>
Luckily no -- the tests will get skipped. For example:
$ OBJC=gcc-3.4.6 sh t/objc-deps.sh # my gcc-3.4.6 don't support Objective C
objc-deps: exec /bin/sh ./t/objc-deps.sh
...
+ aclocal-1.12 -Werror
+ autoconf
+ automake-1.12 --foreign -Werror -Wall --add-missing
+ ./configure --enable-dependency-tracking
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether the Objective C compiler works... no
configure: error: in
`/home/stefano/src/am/branches/objc++-support/t/objc-deps.dir':
configure: error: Objective C compiler cannot create executables
See `config.log' for more details
+ exit_status=77
...
objc-deps: exit 77
Regards,
Stefano
- objc++: more tests (also for objc), Peter Breitenlohner, 2012/04/30
- [PATCH 2/6] objc: test global, per-target, and user flags, Peter Breitenlohner, 2012/04/30
- [PATCH 4/6] objc: test automatic dependency tracking, Peter Breitenlohner, 2012/04/30
- [PATCH 3/6] objc++: test automatic dependency tracking, Peter Breitenlohner, 2012/04/30
- [PATCH 1/6] objc++: test global, per-target, and user flags, Peter Breitenlohner, 2012/04/30
- [PATCH 5/6] objc++: test more automatic dependency tracking, Peter Breitenlohner, 2012/04/30
- [PATCH 6/6] objc: test more automatic dependency tracking, Peter Breitenlohner, 2012/04/30