Skip to content

Commit

Permalink
godot-cpp: restore VirtualRunEnv in test_package
Browse files Browse the repository at this point in the history
  • Loading branch information
valgur committed Jul 26, 2023
1 parent e0c27ee commit 0ba8d90
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion recipes/godot-cpp/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

from conan import ConanFile
from conan.errors import ConanInvalidConfiguration
from conan.tools.apple import is_apple_os
from conan.tools.build import check_min_cppstd
from conan.tools.env import VirtualBuildEnv
from conan.tools.files import copy, get
Expand Down Expand Up @@ -136,7 +137,7 @@ def generate(self):

def build(self):
self.run("python --version")
if self.settings.os == "Macos":
if is_apple_os(self):
self.run("which python")
self.run("scons --version")
self.run(" ".join([
Expand Down
2 changes: 1 addition & 1 deletion recipes/godot-cpp/all/test_package/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 0ba8d90

Please sign in to comment.