tests: Scheduler benchmark

refs #3722

Change-Id: I52a9ef3bca3a458e4f397b50e104044e0fba2cf7
diff --git a/tests/integrated/wscript b/tests/integrated/wscript
index 311059d..08260b7 100644
--- a/tests/integrated/wscript
+++ b/tests/integrated/wscript
@@ -5,16 +5,11 @@
 top = '..'
 
 def build(bld):
-    bld(features="cxx cxxprogram",
-        target="face",
-        source="face.cpp",
-        use='ndn-cxx boost-tests-base BOOST',
-        includes='..',
-        install_path=None)
-
-    bld(features="cxx cxxprogram",
-        target="network-monitor",
-        source="network-monitor.cpp",
-        use='ndn-cxx boost-tests-base BOOST',
-        includes='..',
-        install_path=None)
+    for i in bld.path.ant_glob(['*.cpp']):
+        name = str(i)[:-len(".cpp")]
+        bld(features='cxx cxxprogram',
+            target=name,
+            source=[i],
+            use='ndn-cxx boost-tests-base BOOST',
+            includes='..',
+            install_path=None)