fs-watcher uses its own database
add test for fs-watcher
Change-Id: Iac54e5d5c748f80099ef798a6515993ab432c725
diff --git a/wscript b/wscript
index d514db8..dc59ba5 100644
--- a/wscript
+++ b/wscript
@@ -103,10 +103,11 @@
if bld.env['TEST']:
unittests = bld.program (
target="unit-tests",
- source = bld.path.ant_glob(['test/*.cc']),
- features=['cxx', 'cxxprogram'],
- use = 'BOOST_TEST BOOST_FILESYSTEM LOG4CXX ccnx database chronoshare',
- includes = "ccnx scheduler src executor",
+ features = "qt4 cxx cxxprogram",
+ defines = "WAF",
+ source = bld.path.ant_glob(['test/*.cc', 'gui/fs-watcher.cc']),
+ use = 'BOOST_TEST BOOST_FILESYSTEM LOG4CXX SQLITE3 QTCORE QTGUI ccnx database chronoshare',
+ includes = "ccnx scheduler src executor gui",
)
app_plist = '''<?xml version="1.0" encoding="UTF-8"?>