Skip to content

Commit

Permalink
flatcc: fix test_package
Browse files Browse the repository at this point in the history
  • Loading branch information
valgur committed Oct 24, 2023
1 parent 00f481c commit b63a37d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions recipes/flatcc/all/test_package/conanfile.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import os
import shutil

from conan import ConanFile
from conan.errors import ConanException
from conan.tools.build import can_run
from conan.tools.cmake import cmake_layout, CMake

Expand All @@ -27,8 +25,6 @@ def build(self):
cmake.build()

def test(self):
if not shutil.which("flatcc"):
raise ConanException("flatcc executable not found on PATH")
if can_run(self):
self.run("flatcc --version")
bin_path = os.path.join(self.cpp.build.bindir, "monster")
Expand Down

0 comments on commit b63a37d

Please sign in to comment.