PSync: initial commit
refs: #4641
Change-Id: Iabed3ad7632544d97559e6798547b7972b416784
diff --git a/tests/wscript b/tests/wscript
new file mode 100644
index 0000000..facae68
--- /dev/null
+++ b/tests/wscript
@@ -0,0 +1,22 @@
+top = '..'
+
+def build(bld):
+ if not bld.env['WITH_TESTS']:
+ return
+
+ bld(
+ features='cxx',
+ name='unit-tests-main',
+ target='unit-tests-main',
+ source='main.cpp',
+ defines=['BOOST_TEST_MODULE=PSync Unit Tests'],
+ use='PSync'
+ )
+
+ bld.program(
+ target='../unit-tests',
+ features='cxx cxxprogram',
+ source=bld.path.ant_glob(['**/*.cpp'], excl=['main.cpp']),
+ use='PSync unit-tests-main',
+ install_path=None,
+ )