From 78c4103171732369725487b5f0e43816e1ea1256 Mon Sep 17 00:00:00 2001
From: nancy.liao <huihui.liao@greentest.com.cn>
Date: 周三, 28 5月 2025 16:58:22 +0800
Subject: [PATCH] 修复了缺少头文件编译报错的问题

---
 test/functional/standard-license_test.cpp |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/test/functional/standard-license_test.cpp b/test/functional/standard-license_test.cpp
index 97608a1..eb5a9b8 100644
--- a/test/functional/standard-license_test.cpp
+++ b/test/functional/standard-license_test.cpp
@@ -72,6 +72,8 @@
 }
 */
 
+// old boost version can't parse the comma separated list.. only centos 7 and Ubuntu 16.04
+#if (BOOST_VERSION > 106500)
 BOOST_AUTO_TEST_CASE(multiple_features) {
 	vector<string> extraArgs;
 	extraArgs.push_back("-f");
@@ -95,6 +97,9 @@
 	result = acquire_license(&callInfo, &location, &license);
 	BOOST_CHECK_EQUAL(result, LCC_EVENT_TYPE::PRODUCT_NOT_LICENSED);
 }
+#endif
+
+
 //
 // BOOST_AUTO_TEST_CASE( hw_identifier ) {
 //	const string licLocation(PROJECT_TEST_TEMP_DIR "/hw_identifier.lic");

--
Gitblit v1.9.1