From e16a991667d8e5c49cafb869d4844b80fc323ed8 Mon Sep 17 00:00:00 2001
From: gcontini <1121667+gcontini@users.noreply.github.com>
Date: 周六, 16 5月 2020 23:18:22 +0800
Subject: [PATCH] tentative fix for test failing when in submodule

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

diff --git a/test/library/os/CMakeLists.txt b/test/library/os/CMakeLists.txt
index 2cda53e..1af4e92 100644
--- a/test/library/os/CMakeLists.txt
+++ b/test/library/os/CMakeLists.txt
@@ -9,4 +9,21 @@
  Boost::system
 )
 
-ADD_TEST(NAME test_network COMMAND test_network)
\ No newline at end of file
+ADD_TEST(NAME test_network COMMAND test_network)
+
+add_executable( test_execution_environment
+ execution_environment_test.cpp
+)
+
+target_link_libraries( test_execution_environment
+ licensecc_static
+ Boost::unit_test_framework 
+ Boost::filesystem
+ Boost::system
+)
+
+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_execution_environment PUBLIC -O0 -g --coverage)
+endif(CODE_COVERAGE AND UNIX)

--
Gitblit v1.9.1