meson: Add meson build for test

This commit is to add meson build for test.
and later, we will remove autotools and replace it with meson.

Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: Ia36cec4eda7937461f62f43dd74907e82a164bf6
diff --git a/meson.build b/meson.build
index f8de17d..d62d0ff 100644
--- a/meson.build
+++ b/meson.build
@@ -125,3 +125,8 @@
     install: true,
     install_dir: get_option('bindir'),
 )
+
+build_tests = get_option('tests')
+if not build_tests.disabled()
+    subdir('test')
+endif