summaryrefslogtreecommitdiff
path: root/test_bits.c
Commit message (Collapse)AuthorAgeFilesLines
* SPDXify the licerse references.Eric S. Raymond2018-03-081-1/+1
|
* Trailing whitespace fixup.Gary E. Miller2015-04-301-2/+2
|
* Retire splint from our set of static analyzers.Eric S. Raymond2015-03-301-13/+1
| | | | | | | | | | | | | | | | | | | The proximate cause was that we've been seing emission of error messages that were randomly and disturbingly variable across different environments - notably Raspbian and Gentoo splint gave nontrivially different results than Ubuntu 14.10 splint. And this was *not* due to Ubuntu patches! A pristine splint built from the 3.1.2 tarball on Ubuntu didn't match the Raspbian and Gentoo results either. But this has been coming for a while. Easy access to more modern static analyzers such as coverity, scan-build and cppcheck has been decreasing the utility of splint, which is unmaintained and somewhat buggy and not easy to use. Only file not cleaned is ppsthread.c, because Gary has been working on it during this cleanup. All regression tests pass. PPS observed live on GR601-W.
* Quieter bits testing.Eric S. Raymond2015-01-251-2/+3
|
* Coverity caught a subtle bug in bits.c::shift_left().Eric S. Raymond2014-09-111-1/+1
|
* Wrote code and test for a function to left-shift bit arrays).Eric S. Raymond2014-08-291-0/+19
| | | | To be used for handling AIS Type 25 and 26 messages.
* Cleanup.Michael Tatarinov2013-11-121-1/+3
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Full splint cleanup. Partial cppcheck cleanup.Eric S. Raymond2013-11-051-2/+2
|
* Portability cleanup.Eric S. Raymond2013-10-061-1/+1
|
* cppcheck cleanup.Eric S. Raymond2013-09-171-30/+32
|
* splint/cppcheck cleanup.Eric S. Raymond2013-09-171-4/+2
|
* The signed/unsigned char fix.Michael Tatarinov2013-02-181-1/+1
| | | | | | All regression tests pass on Raspbian “wheezy”. Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* test_bits failed spuriously on hardware with unigned chars, fix it.Eric S. Raymond2013-02-181-1/+1
| | | | Reported from a Raspberry Pi.
* Replace exit({0,1}) with exit(EXIT_{SUCCESS,FAILURE})Eric S. Raymond2012-09-071-1/+1
| | | | Note there are some exit(2) instances we bneed to decide what to do with.
* Silence some pointer-signedness warnings.ukyg9e5r6k7gubiekd62012-09-071-8/+8
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* More unit-testing of the bits macros.Eric S. Raymond2012-06-021-40/+44
|
* Refacter the bits.c stuff to eliminate ugly globals...Eric S. Raymond2012-06-021-10/+8
| | | | | | ...and be more explicit about operand sizes. All regressuion tests [ass, code splints clean.
* Add the bits tester to the normal regression tests.Eric S. Raymond2012-04-201-63/+70
|
* Another multibyte test of little-endian extraction succeeded.Eric S. Raymond2012-04-191-1/+2
|
* First multibyte test of little-endian extraction succeeds.Eric S. Raymond2012-04-191-0/+2
|
* First regressions for little-endian extraction pass.Eric S. Raymond2012-04-191-1/+3
|
* Prepare for unit tests of little-endian extraction.Eric S. Raymond2012-04-191-9/+11
| | | | All normal regression tests and the test_bits unit test pass.
* More steps towards little-endiuan extraction.Eric S. Raymond2012-04-191-2/+3
| | | | All normal regressions tests and the test_bits unit test pass.
* Rename some bit extractors.Eric S. Raymond2012-04-191-2/+2
|
* Use PRIx64 for uint64_t.Greg Troxel2011-02-251-1/+1
|
* Use PRIx64 to print int64_t in hex.Greg Troxel2011-02-251-16/+17
|
* Try to fix Greg Troxel's format mismatches.Eric S. Raymond2011-02-251-50/+48
|
* We no longer rely on long long to be 64 bits.Eric S. Raymond2011-01-251-4/+5
| | | | All regression tests pass.
* Rename the bits.h macros to be explicit about operand length.Eric S. Raymond2010-12-261-48/+48
| | | | | | With most machines being 64-bit now, the assumption that "word" = 16 bits and "long" = 32 bits is increasingly archaic. This commit removes it from our naming conventions.
* Reindent the test programs. All regression tests pass.Eric S. Raymond2010-04-141-57/+59
|
* Vanish away Id and Rev $ keywords, git won't expand them to anything useful.Eric S. Raymond2010-03-131-2/+0
|
* Copyright stamps everywhere. No code changes.Eric S. Raymond2010-03-111-2/+7
|
* In the wake of the change to use only C99 fixed-length types... Eric S. Raymond2009-10-261-0/+4
| | | | ...splint needs some pacifying. This is part 1. All regressions pass.
* Minor splint cleanups.Eric S. Raymond2009-03-271-0/+2
|
* Improved documentation and regression testing for the bitfield extractor.Eric S. Raymond2009-03-271-6/+30
|
* repository beautification, part 2:Chris Kuethe2009-03-021-0/+171
rename the test programs to test_$(subsystem).c