Testing environment
Change-Id: I431214b62e7cc8793db80a05fe854849b4c6df5b
diff --git a/tests/wscript b/tests/wscript
new file mode 100644
index 0000000..a32e9d8
--- /dev/null
+++ b/tests/wscript
@@ -0,0 +1,21 @@
+# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
+from waflib import Utils
+
+top = '..'
+
+def build(bld):
+ bld.objects(
+ target='tests-main',
+ source='main.cpp',
+ use='libndn-nac')
+
+ config_path = 'TMP_TESTS_PATH="%s"' % bld.bldnode.make_node('tmp-files')
+
+ bld.program(
+ target='../unit-tests',
+ name='unit-tests',
+ source=bld.path.ant_glob('**/*.cpp', excl='main.cpp'),
+ use='libndn-nac tests-main',
+ includes=['.'],
+ install_path=None,
+ defines=[config_path])