tests: some tests make no sense if "$CC -c -o" doesn't work
authorStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 15 May 2013 13:48:08 +0000 (15:48 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 24 May 2013 15:35:48 +0000 (17:35 +0200)
commitb2b6269fca6f7bb7adac2d09c02adf0c6b701d48
tree862ba417a38838ad28acb999fe8ddeb045c4696f
parente90126cf20ab1bd848631fca5d4bc32433ca52e4
tests: some tests make no sense if "$CC -c -o" doesn't work

So just skip them, to avoid spurious failures when running
"make check-no-cc-c-o".

* t/ax/am-test-lib.sh (require_tool): New requirement '-c-o'.
* t/subobj10.sh ($required): Add it.
* gen-testsuite-part (%depmodes): Adjust so that tests that
use 'makedepend' will be skipped if the compiler is being
forced not to grasp "-c -o".

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
gen-testsuite-part
t/ax/am-test-lib.sh
t/subobj10.sh