]> git.ozlabs.org Git - ccan/commit
ccanlint: tweak example compilation.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 10 Nov 2010 06:38:29 +0000 (17:08 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 10 Nov 2010 06:38:29 +0000 (17:08 +1030)
commit8566131a68d4e0e5e10a5179bd50e18106ac646d
tree19093a4360d05c72c2430fcfdc62730f736cc6fe
parentc44953a9b9e6114690968294662fc5120e674cd2
ccanlint: tweak example compilation.

We used to prefer to build up examples using previous ones, but this broke
for tests which were to be executed.  But list.h relied on the buildup
behavior, so return to that unless we see "// Given" comments indicating
an execution test.
tools/ccanlint/tests/examples_compile.c