]> git.ozlabs.org Git - ccan/commit
ccanlint: keep separate array of compiled versions.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 30 Aug 2011 04:27:08 +0000 (13:57 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 30 Aug 2011 04:27:08 +0000 (13:57 +0930)
commitb931f4765272d68de3b5e35d70c1933c27bcdea4
tree20aebf9768ce4f46e90750bffc975c89bdc13e0a
parentad6a6711a1b703793e49206e10d6dcf1722eb424
ccanlint: keep separate array of compiled versions.

Rather than mug the old ->compiled version when we reduce features,
keep both in the structure.  This makes it clear that we are using the
right version (we weren't in all cases, in particular we weren't
recompiling the test helpers correctly.
19 files changed:
tools/ccanlint/ccanlint.h
tools/ccanlint/compulsory_tests/build.h
tools/ccanlint/compulsory_tests/depends_build.c
tools/ccanlint/compulsory_tests/depends_exist.c
tools/ccanlint/compulsory_tests/module_builds.c
tools/ccanlint/compulsory_tests/module_links.c
tools/ccanlint/compulsory_tests/objects_build.c
tools/ccanlint/file_analysis.c
tools/ccanlint/tests/depends_build_without_features.c [new file with mode: 0644]
tools/ccanlint/tests/examples_compile.c
tools/ccanlint/tests/examples_run.c
tools/ccanlint/tests/objects_build_without_features.c
tools/ccanlint/tests/tests_compile.c
tools/ccanlint/tests/tests_compile_coverage.c
tools/ccanlint/tests/tests_coverage.c
tools/ccanlint/tests/tests_helpers_compile.c
tools/ccanlint/tests/tests_pass.c
tools/ccanlint/tests/tests_pass_valgrind.c
tools/ccanlint/tests/tests_pass_without_features.c [new file with mode: 0644]