Files
ndn-tools/tests
Davide Pesavento b6b176c7b9 dump: refactor packet parsing code into per-protocol functions
Change-Id: I96af9cb6397e34dde401ba38964601fb50ce4960
2018-08-02 21:51:08 -04:00
..
2018-06-06 16:25:38 -04:00
2015-06-28 11:10:34 -07:00
2018-06-06 16:25:38 -04:00

ndn-tools unit tests

Assumptions

Unit tests for a tool foo should be placed in the folder foo and build script for the tool should define foo-objects that includes all object files for the tool, except object files defining main function.

For example,

bld(features='cxx',
    name='tool-subtool-objects',
    source=bld.path.ant_glob('subtool/*.cpp', excl='subtool/main.cpp'),
    use='core-objects')

bld(features='cxx cxxprogram',
    target='../../bin/subtool',
    source='subtool/main.cpp',
    use='tool-subtool-objects')

bld(name='tool-objects',
    use='tool-subtool-objects')