conan-io / conan-center-index

Recipes for the ConanCenter repository
https://conan.io/center
MIT License
918 stars 1.65k forks source link

gsoap: test only the created reference #24438

Closed jcar87 closed 3 days ago

jcar87 commented 3 days ago

Summary

Changes to recipe: gsoap (test package only)

Motivation

Ensure the we test only a single package_id during conan test, to avoid build order issues on CI

Details

When different package_id are required, CI cannot guarantee that the "other" ID will have been generated and uploaded before test time. We do lose some slice of testing here: it is no longer tested if it is cross-built - however, there is correlation: if self.run(xxx, env="conanrun") works, for the self.requires(self.tested_reference_str), then self.run(xxx, env="conanbuild") should work for self.tool_requires(self.tested_reference_str), assuming that the only thing we need is the bin directory added to the path.

Additionally: simplify the test package C++ file - linking is already tested with minimal code.

conan-center-bot commented 3 days ago

Conan v1 pipeline :heavy_check_mark:

All green in build 1 (9a7387b3ed329df42e216221c9da662426535b9f):


Conan v2 pipeline :heavy_check_mark:

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

All green in build 1 (9a7387b3ed329df42e216221c9da662426535b9f):