Skip to content

Commit

Permalink
(#9596) - [autoconf] fix test_type
Browse files Browse the repository at this point in the history
Signed-off-by: SSE4 <[email protected]>
  • Loading branch information
SSE4 authored Mar 15, 2022
1 parent 8c11c71 commit f48950f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion recipes/autoconf/all/test_package/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@
class TestPackageConan(ConanFile):
settings = "os", "compiler", "build_type", "arch"
exports_sources = "configure.ac", "config.h.in", "Makefile.in", "test_package_c.c", "test_package_cpp.cpp",
test_type = "build_requires"
test_type = "explicit"

@property
def _settings_build(self):
return getattr(self, "settings_build", self.settings)

def build_requirements(self):
self.build_requires(self.tested_reference_str)
if self._settings_build.os == "Windows" and not tools.get_env("CONAN_BASH_PATH"):
self.build_requires("msys2/cci.latest")

Expand Down

0 comments on commit f48950f

Please sign in to comment.