From 4f791bec66484b91d36614585d956b392824e940 Mon Sep 17 00:00:00 2001 From: Martin Valgur Date: Wed, 26 Jul 2023 23:24:23 +0300 Subject: [PATCH] openldap: restore VirtualRunEnv in test_package --- recipes/openldap/all/conanfile.py | 2 +- recipes/openldap/all/test_package/conanfile.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/openldap/all/conanfile.py b/recipes/openldap/all/conanfile.py index 9c92359125ace1..3be167b055e2e9 100644 --- a/recipes/openldap/all/conanfile.py +++ b/recipes/openldap/all/conanfile.py @@ -47,7 +47,7 @@ def requirements(self): self.requires("cyrus-sasl/2.1.27") def validate(self): - if self.settings.os != "Linux": + if self.settings.os not in ["Linux", "FreeBSD"]: raise ConanInvalidConfiguration(f"{self.name} is only supported on Linux") if self.settings.compiler.cppstd: check_min_cppstd(self, 11) diff --git a/recipes/openldap/all/test_package/conanfile.py b/recipes/openldap/all/test_package/conanfile.py index fae501d0afb9e4..ef5d7042163ecc 100644 --- a/recipes/openldap/all/test_package/conanfile.py +++ b/recipes/openldap/all/test_package/conanfile.py @@ -6,7 +6,7 @@ class TestPackageConan(ConanFile): settings = "os", "arch", "compiler", "build_type" - generators = "CMakeDeps", "CMakeToolchain" + generators = "CMakeDeps", "CMakeToolchain", "VirtualRunEnv" test_type = "explicit" def requirements(self):