Skip to content

Commit

Permalink
Do not run tests with_fmus=False
Browse files Browse the repository at this point in the history
  • Loading branch information
joakimono committed Apr 10, 2024
1 parent e1c3fbc commit 70d0248
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def requirements(self):
if Version(self.version).major > 2:
self.requires("fmi3/3.0.1")
self.requires("expat/2.6.2")
self.requires("minizip/1.3.1")
self.requires("minizip/[>=1.2.11 <2]")
self.requires("zlib/[>=1.2.11 <2]")
# c99_snprintf -> should be externalised

Expand Down Expand Up @@ -130,7 +130,8 @@ def build(self):
cmake.configure()
cmake.build()

if not self.conf.get("tools.build:skip_test", default=True):
if not self.conf.get("tools.build:skip_test", default=True) and self.options.with_fmus:
# Tests will now work without fmus
env = Environment()
env.define("CTEST_OUTPUT_ON_FAILURE", "ON")
with env.vars(self).apply():
Expand Down

0 comments on commit 70d0248

Please sign in to comment.