aakash-sahai / nanopb

Automatically exported from code.google.com/p/nanopb
zlib License
0 stars 0 forks source link

Reorganize tests #63

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The number of tests starts to be quite large for a single folder. It could be 
useful to separate the tests to separate subfolders, one folder per test.

Some C-based unit testing framework could be considered, though many of the 
tests require invoking also the nanopb generator. In addition the following 
points should be taken into account (not achieved very well by current 
Makefile):

1) Executability in different environments (Windows, etc.) and with different 
compilers.
2) Cross-compilation for embedded platforms.

Original issue reported on code.google.com by Petteri.Aimonen on 2 Mar 2013 at 1:36

GoogleCodeExporter commented 9 years ago
This issue was updated by revision 262c62676cf7.

Original comment by Petteri.Aimonen on 8 Sep 2013 at 2:53

GoogleCodeExporter commented 9 years ago
Done. Tests are now run using scons, and work on Windows also.

Cross-compilation should be possible but has not been tested yet.

Original comment by Petteri.Aimonen on 11 Sep 2013 at 1:17

GoogleCodeExporter commented 9 years ago
Fix released in nanopb-0.2.3.

Original comment by Petteri.Aimonen on 18 Sep 2013 at 9:51