]> git.ozlabs.org Git - ccan/commit
ccanlint: clean up reduced feature handling.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 30 Aug 2011 04:31:25 +0000 (14:01 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 30 Aug 2011 04:31:25 +0000 (14:01 +0930)
commit939fab341caaa06d032b29f06362335de0db82cc
treebeffc7319b0bd91b2f1824cb08c32318f2474a88
parent728d98e8e44abcacbe9bfcd89762de2beda72698
ccanlint: clean up reduced feature handling.

Putting the reduced config.h in the current directory means that it's
actually being picked up by other tests, such as the string checks.
So move it to a sub-directory where we need an explicit -I.

We also fix the dependencies, so that "--target
tests_pass_without_features" works.
tools/ccanlint/tests/depends_build_without_features.c
tools/ccanlint/tests/objects_build_without_features.c
tools/ccanlint/tests/reduce_features.c
tools/ccanlint/tests/reduce_features.h
tools/ccanlint/tests/tests_compile.c
tools/ccanlint/tests/tests_helpers_compile.c