fd: Implement managed file descriptor support

Change-Id: I0c5c438aa2c31ae52e115951b3fb1e85df182fd1
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/test/meson.build b/test/meson.build
index 0de7168..9a9b060 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -27,6 +27,19 @@
   'util/string',
 ]
 
+if has_fd
+  gtests += [
+    'fd/dupable',
+    'fd/managed',
+    'fd/intf',
+    'fd/impl',
+    'fd/mock',
+    'fd/ops',
+  ]
+else
+  warning('Not testing file descriptor feature')
+endif
+
 if gtest.found() and gmock.found()
   foreach t : gtests
     test(t, executable(t.underscorify(), t + '.cpp',