conan-io / conan

Conan - The open-source C and C++ package manager
https://conan.io
MIT License
8.17k stars 974 forks source link

Bugfix: Replace startswith assert with a more general "in" on checking LDFLAGS #16409

Closed perseoGI closed 3 months ago

perseoGI commented 4 months ago

Changelog: Omit Docs: omit

perseoGI commented 4 months ago

The tests get the env from the parent scope. I tried cleaning it but quite a few tests started failing, this is a good patch for now until we think a bit more about it

Yes, definetly tests should not depend on user shell environment. This is just a quick bugfix but we should really change the tests behaviour!