aboutsummaryrefslogtreecommitdiffstats
path: root/tests/SConstruct
AgeCommit message (Collapse)AuthorFilesLines
2016-12-09Enable clang integer sanitizer and clean up a few warnings.Petteri Aimonen1-1/+1
Changed to use simple indexing instead of while (count--) in buf_read()/buf_write(), because the count overflowed from 0 to max on the last iteration. While the unsigned integer overflow is defined and behaviour was correct, making this simple change allowed enabling the sanitizer which might catch true errors elsewhere in the code.
2016-12-09Add regression test for issue #227Petteri Aimonen1-1/+3
2015-01-04Actually make the protoc version check workPetteri Aimonen1-4/+2
2015-01-04Only run oneof test when protoc >= 2.6 is availablePetteri Aimonen1-0/+7
2015-01-03Change PB_RETURN_ERROR() macro to avoid compiler warnings.Petteri Aimonen1-3/+0
Update issue 140 Status: FixedInGit
2014-12-26Move malloc support to tests/common directoryPetteri Aimonen1-1/+7
2014-09-11Add a better fuzz test.Petteri Aimonen1-1/+2
Attempts to verify all the properties defined in the security model, while also being portable and able to run on many platforms.
2014-07-20Fix problem with .options file and extension fields.Petteri Aimonen1-1/+1
The options for an extension field were being looked up under wrong name (MessageName instead of MessageName.fieldname). Fixed the problem and added regression test. Created a new subfolder for regression test cases. Update issue 125 Status: FixedInGit
2014-04-15Fix typos in scons command line optionsPetteri Aimonen1-2/+2
2014-04-15Remove -O0 from tests CFLAGS so that optimized builds can be tested alsoPetteri Aimonen1-4/+4
2014-04-09Use -fsanitize=undefined when running tests with clangPetteri Aimonen1-3/+13
2014-04-05Add rule for building coverage summary using lcov.Petteri Aimonen1-2/+2
Also modified a few tests to be more compatible with coverage information, so that they use the same pb_encode/decode.c instead of making a copy.
2014-03-18Add stdlib.h to pb_syshdr.h for dynamic allocationPetteri Aimonen1-0/+2
2014-03-15Finish the alltypes_pointer testcase, use valgrind if available.Petteri Aimonen1-5/+0
2014-03-12Add pb_release() functionPetteri Aimonen1-2/+7
2014-02-04Add strict-aliasing GCC warnings for corePetteri Aimonen1-0/+1
2013-12-29Fix path change: compat/ -> extra/Petteri Aimonen1-1/+1
2013-12-29Small fix for previousPetteri Aimonen1-2/+2
2013-12-29Check for supported GCC CCFLAGS when building tests.Petteri Aimonen1-6/+20
2013-12-29Add a SCons tool for nanopb protos.Petteri Aimonen1-1/+1
This tool script is useful both for building the tests and also for use in other applications.
2013-11-13Make tests build in a separate folder, add to gitignorePetteri Aimonen1-2/+7
2013-10-29Remove the NANOPB_INTERNALS functions from public API.Petteri Aimonen1-0/+2
These have been deprecated since nanopb-0.1.6 (some since 0.1.3). Equivalent functions with better interface are available in the API. Update issue 91 Status: FixedInGit
2013-09-11Disable warning about uint64_t (long long)Petteri Aimonen1-1/+4
2013-09-11Make all the tests ANSI C compatible.Petteri Aimonen1-5/+5
2013-09-10Compiler options for GCC, clang and tccPetteri Aimonen1-7/+60
2013-09-10Build fixes for Windows/Visual C++Petteri Aimonen1-10/+42
2013-09-10Add an example pb_syshdr.h file for platforms without C99.Petteri Aimonen1-0/+7
This allows building the tests easily on Visual C++ in C mode. Also add checks to pb.h that the defined integer types are of the proper sizes. This may prevent some difficult to debug problems later..
2013-09-10Convert more test cases to sconsPetteri Aimonen1-66/+6
2013-09-08Start moving the tests into subfolders. Transition to SCons for build system ↵Petteri Aimonen1-0/+77
for the tests. Only a few tests updated so far. Have to include all the rest before merging to mainline. Update issue 63 Status: Started