I am currently in the process of introducing Conan.io (Version 1.20.5) to my project.
With Cmake.test(), I am missing the XML testreport that was previously generated by calling ctest -T test
directly.
Here is the conanfile.py build() excerpt:
def build(self):
cmake = CMake(self)
cmake.configure()
cmake.build()
cmake.test()
Comments:
1.) Defining args to the build() is breaking the build as these args seem to be forwarded to _build(): https://github.com/conan-io/conan/blob/812c8ec8185e24b2bc41fb6e855d35c925526670/conans/client/build/cmake.py#L276
Regards, Christian