mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-01 03:14:29 +02:00
build: Conan test_package fixed
This commit is contained in:
@@ -21,11 +21,10 @@
|
||||
# SOFTWARE.
|
||||
|
||||
from conans import ConanFile, CMake, tools, RunEnvironment
|
||||
import os
|
||||
|
||||
class TestPackageConan(ConanFile):
|
||||
settings = "os", "compiler", "build_type", "arch"
|
||||
generators = "cmake", "cmake_find_package"
|
||||
generators = "cmake_find_package_multi"
|
||||
|
||||
def build(self):
|
||||
cmake = CMake(self)
|
||||
@@ -34,5 +33,4 @@ class TestPackageConan(ConanFile):
|
||||
|
||||
def test(self):
|
||||
if not tools.cross_building(self.settings):
|
||||
self.run(os.path.join("bin", "test_package_conan"), run_environment=True)
|
||||
self.run(os.path.join("bin", "test_package_cmake"), run_environment=True)
|
||||
self.run("test_package", run_environment=True)
|
||||
|
Reference in New Issue
Block a user