From c8f8e0c1f0a3687539a92169735845814e18c187 Mon Sep 17 00:00:00 2001
From: gcontini <1121667+gcontini@users.noreply.github.com>
Date: 周六, 31 10月 2020 10:15:16 +0800
Subject: [PATCH] read dmi information segfault on windows

---
 test/library/os/CMakeLists.txt |   21 +++++++++++++++++++--
 1 files changed, 19 insertions(+), 2 deletions(-)

diff --git a/test/library/os/CMakeLists.txt b/test/library/os/CMakeLists.txt
index 1af4e92..e91e417 100644
--- a/test/library/os/CMakeLists.txt
+++ b/test/library/os/CMakeLists.txt
@@ -1,6 +1,6 @@
 add_executable( test_network
  network_test.cpp
-)
+ "network_test.cpp")
 
 target_link_libraries( test_network
  licensecc_static
@@ -10,6 +10,17 @@
 )
 
 ADD_TEST(NAME test_network COMMAND test_network)
+
+add_executable( test_dmi_info dmi_info_test.cpp "dmi_info_test.cpp")
+
+target_link_libraries( test_dmi_info
+ licensecc_static
+ Boost::unit_test_framework 
+ Boost::filesystem
+ Boost::system
+)
+
+ADD_TEST(NAME test_dmi_info COMMAND test_dmi_info)
 
 add_executable( test_execution_environment
  execution_environment_test.cpp
@@ -23,7 +34,13 @@
 )
 
 ADD_TEST(NAME test_execution_environment COMMAND test_execution_environment)
+
 if(CODE_COVERAGE AND UNIX)
-	target_compile_options(test_network PUBLIC -O0 -g --coverage)
+	target_compile_options(test_dmi_info PUBLIC -O0 -g --coverage)
 	target_compile_options(test_execution_environment PUBLIC -O0 -g --coverage)
+	target_compile_options(test_network PUBLIC -O0 -g --coverage)
 endif(CODE_COVERAGE AND UNIX)
+
+
+
+

--
Gitblit v1.9.1