Cleanup
publish / publish (push) Successful in 14m29s

This commit is contained in:
khodowany
2026-09-10 09:22:15 -05:00
parent 1241f3eb71
commit b58664d5f4
16 changed files with 582 additions and 68 deletions
+26
View File
@@ -0,0 +1,26 @@
import os
import conan
import conan.tools.build
import conan.tools.cmake
class sonus_test_package(conan.ConanFile):
settings = "os", "arch", "compiler", "build_type"
generators = "CMakeDeps", "CMakeToolchain"
test_type = "explicit"
def requirements(self):
self.requires(self.tested_reference_str)
def layout(self):
conan.tools.cmake.cmake_layout(self)
def build(self):
cmake = conan.tools.cmake.CMake(self)
cmake.configure()
cmake.build()
def test(self):
if conan.tools.build.can_run(self):
self.run(os.path.join(self.cpp.build.bindirs[0], "sonus-consumer"), env="conanrun")