4 Commits

Author SHA1 Message Date
Nicholas Piggin 10d50007fb ccan: sync to upstream ccan.git commit ca7c5a9e04f3
sync to upstream ccan.git commit ca7c5a9e04f3 ("ccan: make tal_dump()
format more regular.").

The recipe used to sync upstream is:

 $ cd ccan
 $ ./tools/create-ccan-tree -b make tmp \
     array_size check_type container_of heap \
     short_types build_assert endian list str
 $ # replace directories in skiboot/ccan/ with those in tmp/ccan/
 $ cd ../skiboot
 $ patch -p1 < ccan/skiboot.patch

This also adds a README.skiboot to help with future updates.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
2021-12-09 11:09:01 +01:00
Stewart Smith dc2f7ebfdf attrconst for tests
Fixes build warnings when running with higher optimization than -O0

Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2017-07-19 15:49:39 +10:00
Stewart Smith c652989453 Run the CCAN unit tests and add to coverage-report
With some fun Makefile rules, we can pick up all CCAN unit tests.

We exclude the unit test source files from the lcov report itself.

Add skeleton ccan config.h and tap.h that are enough for us to build
and run the test suite. Currently, the minimalist versions should
be fine (and we don't need CCAN configurator).

Also includes -Werror fixes for ccan tests.

Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2014-12-18 18:21:29 +11:00
Benjamin Herrenschmidt 1d880992fd Initial commit of Open Source release
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2014-07-02 15:36:20 +10:00