Kunlun OEM commands,The first version add two commands:
1,setCpuInfo:save cpu infomation from bios to file
2,getCpuInfo:load cpu infomation from file
Signed-off-by: Xiuzhi Cheng <xzcheng@zd-tech.com.cn>
diff --git a/test/meson.build b/test/meson.build
new file mode 100644
index 0000000..0e54c90
--- /dev/null
+++ b/test/meson.build
@@ -0,0 +1,23 @@
+gtest = dependency('gtest', main: true, disabler: true, required: build_tests)
+gmock = dependency('gmock', disabler: true, required: build_tests)
+openssl = dependency('openssl', disabler: true, required: build_tests)
+
+configure_file(output: 'config.h',
+ configuration: cdata,
+)
+test_inc = include_directories('.')
+
+test_kunlun_ipmi_oem = executable(
+ 'test_kunlun-ipmi-oem',
+ '../src/kunlun_oem.cpp',
+ 'test_kunlun_ipmi_oem.cpp',
+ include_directories: [test_inc, src_inc],
+ dependencies: [
+ libipmid,
+ gtest,
+ gmock,
+ phosphor_logging,
+ openssl,
+ ])
+
+test('test_kunlun-ipmi-oem', test_kunlun_ipmi_oem)