mirror of
https://github.com/mpusz/mp-units.git
synced 2025-07-30 02:17:16 +02:00
test: test_package now is tested also with C++20 modules
This commit is contained in:
@ -64,5 +64,8 @@ class TestPackageConan(ConanFile):
|
||||
|
||||
def test(self):
|
||||
if can_run(self):
|
||||
bin_path = os.path.join(self.cpp.build.bindirs[0], "test_package")
|
||||
if self.dependencies["mp-units"].options.cxx_modules:
|
||||
bin_path = os.path.join(self.cpp.build.bindirs[0], "test_package")
|
||||
self.run(bin_path, env="conanrun")
|
||||
bin_path = os.path.join(self.cpp.build.bindirs[0], "test_package-headers")
|
||||
self.run(bin_path, env="conanrun")
|
||||
|
Reference in New Issue
Block a user