aboutsummaryrefslogtreecommitdiff
path: root/ccan/short_types/test
AgeCommit message (Collapse)AuthorFilesLines
2017-07-19attrconst for testsStewart Smith2-2/+2
Fixes build warnings when running with higher optimization than -O0 Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2015-08-13ccan: Update short_types module to fix warningJoel Stanley2-13/+22
Back in 9f64cb2028f8612daa8556cc4831b9b7ce91b171 the ccan/endian module was updated. Unknown at the time, there were changes made to both the endian and short_types modules that depnded on each other, or certain types would be redefined. skiboot/ccan/endian/endian.h:336:19: error: redefinition of typedef 'be32' is a C11 feature [-Werror,-Wtypedef-redefinition] typedef beint32_t be32; ^ skiboot/ccan/short_types/short_types.h:22:18: note: previous definition is here typedef uint32_t be32; ^ By updating the short_types to the latest, we no longer redefine these types when a module uses both short_types and endian. Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2014-12-18Run the CCAN unit tests and add to coverage-reportStewart Smith1-0/+3
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-07-02Initial commit of Open Source releaseBenjamin Herrenschmidt1-0/+38
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>