lib:util: Add bytearray.h
[amitay/samba.git] / lib / util / wscript_build
index a827eea3ed946d3fa1ad467e948b1ba96ab7b5d9..f181e82fa3abf4d9159e29624df30b8797fc5dec 100644 (file)
@@ -154,6 +154,7 @@ else:
                   public_deps='talloc tevent execinfo pthread LIBCRYPTO charset util_setid',
                   public_headers='''
                                  attr.h
+                                 bytearray.h
                                  byteorder.h
                                  data_blob.h
                                  debug.h
@@ -288,3 +289,9 @@ else:
                      deps='cmocka replace samba-util',
                      local_include=False,
                      for_selftest=True)
+
+    bld.SAMBA_BINARY('test_bytearray',
+                     source='tests/test_bytearray.c',
+                     deps='cmocka replace samba-util',
+                     local_include=False,
+                     for_selftest=True)