From f4e683fc6bd6ac76f9979f49d737588b6ddf16b0 Mon Sep 17 00:00:00 2001 From: gcontini <1121667+gcontini@users.noreply.github.com> Date: 周六, 14 11月 2020 22:13:13 +0800 Subject: [PATCH] windows smbios --- test/functional/standard-license_test.cpp | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/test/functional/standard-license_test.cpp b/test/functional/standard-license_test.cpp index bbd6362..c163212 100644 --- a/test/functional/standard-license_test.cpp +++ b/test/functional/standard-license_test.cpp @@ -72,10 +72,12 @@ } */ +// 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"); - extraArgs.push_back("feature1,feature2"); + extraArgs.push_back(LCC_PROJECT_NAME ",feature1,feature2"); const fs::path licLocation = fs::path(generate_license("multi_feature", extraArgs)); const string licLocationStr = licLocation.string(); string license_data = get_file_contents(licLocationStr.c_str(), 65536); @@ -95,6 +97,8 @@ 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