tests: delete unused code

Change-Id: I305e9d1a46b69196ab89a0de8ddb90ee9ce263ad
diff --git a/wscript b/wscript
index e699fd3..369d9b9 100644
--- a/wscript
+++ b/wscript
@@ -36,7 +36,7 @@
     conf.check_cfg(package='libndn-cxx', args=['libndn-cxx >= 0.8.0', '--cflags', '--libs'],
                    uselib_store='NDN_CXX', pkg_config_path=pkg_config_path)
 
-    boost_libs = ['system', 'program_options', 'filesystem']
+    boost_libs = ['system', 'program_options']
     if conf.env.WITH_TESTS:
         boost_libs.append('unit_test_framework')
         conf.define('WITH_TESTS', 1)
@@ -74,7 +74,9 @@
         export_includes='.')
 
     bld.recurse('tools')
-    bld.recurse('tests')
+
+    if bld.env.WITH_TESTS:
+        bld.recurse('tests')
 
     if Utils.unversioned_sys_platform() == 'linux':
         systemd_units = bld.path.ant_glob('systemd/*.in')