Files
ndn-tools/tests
Davide Pesavento 7e9d7e4f9a Switch to Face::getIoContext()
Change-Id: Ice05b0b8e9af4ed4651abcf6fc4ea6b84c34da7c
2023-11-11 15:00:03 -05:00
..
2023-11-11 15:00:03 -05:00
2023-09-15 22:08:22 -04:00
2023-09-15 22:08:22 -04:00
2022-02-20 15:35:23 -05:00
2022-02-20 15:35:23 -05:00
2023-09-15 22:08:22 -04:00
2023-09-15 22:08:22 -04:00
2023-03-13 17:44:22 -04:00
2023-03-13 17:44:22 -04:00
2023-09-15 22:08:22 -04:00

ndn-tools unit tests

Assumptions

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

For example:

def build(bld):
    bld.objects(
        target='tool-subtool-objects',
        source=bld.path.ant_glob('subtool/*.cpp', excl='subtool/main.cpp'),
        use='core-objects')

    bld.program(
        name='subtool',
        target='../../bin/subtool',
        source='subtool/main.cpp',
        use='tool-subtool-objects')

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