tests[sync]: Fix test cases

Change-Id: I44b17e9647b8f9ed9b82381e0201d1d10ce1731c
diff --git a/tests/wscript b/tests/wscript
index 5d667b5..b47447b 100644
--- a/tests/wscript
+++ b/tests/wscript
@@ -8,7 +8,7 @@
     if not bld.env['WITH_TESTS']:
         return
 
-    Logs.error("Most unit tests are temporary disabled")
+    Logs.error("Many unit tests are temporary disabled")
 
     bld(features='cxx',
         target='unit-tests-main',
@@ -21,8 +21,10 @@
     unit_tests = bld.program(
             target='../unit-tests',
             features='cxx cxxprogram',
-            source=bld.path.ant_glob(['**/*.cpp'], excl=['main.cpp',
-                                                         'unit-tests/**/*.cpp']),
+            source=bld.path.ant_glob(['*.cpp',
+                                      'unit-tests/sync-*.t.cpp',
+                                      ],
+                                     excl=['main.cpp']),
             use='unit-tests-main core-objects chronoshare',
             install_path=None,
             defines='UNIT_TEST_CONFIG_PATH=\"%s/tmp-files/\"' % (bld.bldnode),