Files
ndn-tools/tools/ping/wscript
T
Junxiao Shi 2713a3be5d tests: introduce unit testing
As a sample, this commit also includes a test suite for
ndn::ping::client::StatisticsCollector class.

refs #2795

Change-Id: Ia0c7522ae26bee1cc9d172c7379ab62f84325ed7
2015-06-28 11:10:34 -07:00

30 lines
868 B
Python

# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
top = '../..'
def build(bld):
bld(features='cxx',
name='ping-client-objects',
source=bld.path.ant_glob('client/*.cpp', excl='client/ndn-ping.cpp'),
use='core-objects')
bld(features='cxx cxxprogram',
target='../../bin/ndnping',
source='client/ndn-ping.cpp',
use='ping-client-objects')
bld(features='cxx',
name='ping-server-objects',
source=bld.path.ant_glob('server/*.cpp', excl='server/ndn-ping-server.cpp'),
use='core-objects')
bld(features='cxx cxxprogram',
target='../../bin/ndnpingserver',
source='server/ndn-ping-server.cpp',
use='ping-server-objects')
## (for unit tests)
bld(name='ping-objects',
use='ping-client-objects ping-server-objects')