build+ci: Upgrade build scripts, enable coverage and sanitizer flags

Change-Id: I825ea4fdf4f40c4af06b5667af432f1c0eab368d
diff --git a/tests/wscript b/tests/wscript
index 384dbba..b157a32 100644
--- a/tests/wscript
+++ b/tests/wscript
@@ -8,8 +8,9 @@
         target='tests-main',
         name='tests-main',
         features='cxx',
-        source=bld.path.ant_glob(['main.cpp']),
+        source='main.cpp',
         use='ChronoSync',
+        defines=['BOOST_TEST_MODULE=ChronoSync']
         )
 
     unit_test = bld.program(
@@ -21,11 +22,12 @@
         install_path=None,
         )
 
-    integrated_test = bld.program(
-        target="../integrated-tests",
-        source=bld.path.ant_glob(['integrated-tests/**/*.cpp']),
-        features=['cxx', 'cxxprogram'],
-        use='ChronoSync tests-main',
-        includes=['.'],
-        install_path=None,
-        )
+    # TODO: Re-enable when there integration tests are implemented
+    # integrated_test = bld.program(
+    #     target="../integrated-tests",
+    #     source=bld.path.ant_glob(['integrated-tests/**/*.cpp']),
+    #     features=['cxx', 'cxxprogram'],
+    #     use='ChronoSync tests-main',
+    #     includes=['.'],
+    #     install_path=None,
+    #     )