util: NetworkMonitor helper to detect network state changes
This commit includes only OS X implementation using CoreFoundation framework
Change-Id: I8d5488ec5780e2a33bb20595391208a76b9e69dd
Refs: #2443
diff --git a/tests/integrated/wscript b/tests/integrated/wscript
index d5d9af7..311059d 100644
--- a/tests/integrated/wscript
+++ b/tests/integrated/wscript
@@ -5,25 +5,16 @@
top = '..'
def build(bld):
- unittests = bld(
- target="integrated-test-objects",
- name="integrated-test-objects",
- features="cxx",
- source=bld.path.ant_glob(['**/*.cpp'],
- excl=['main.cpp', '**/*-osx.cpp', '**/*-sqlite3.cpp']),
- use='tests-base',
- includes='.',
- install_path=None,
- )
+ bld(features="cxx cxxprogram",
+ target="face",
+ source="face.cpp",
+ use='ndn-cxx boost-tests-base BOOST',
+ includes='..',
+ install_path=None)
- if bld.env['HAVE_OSX_SECURITY']:
- unittests.source += bld.path.ant_glob('**/*-osx.cpp')
-
- # In case we want to make it optional later
- unittests.source += bld.path.ant_glob('**/*-sqlite3.cpp')
-
- bld.program(
- target="../integrated-tests",
- use="integrated-test-objects",
- source="main.cpp",
+ bld(features="cxx cxxprogram",
+ target="network-monitor",
+ source="network-monitor.cpp",
+ use='ndn-cxx boost-tests-base BOOST',
+ includes='..',
install_path=None)