You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the first approach and raising a ConanInvalidConfiguration Conan returns with errorcode 6. This could be further processed by scripts/CI perfectly. However the second approach with constraining the settings does not return with errorcode 6, but results in an error and errorcode 1 instead.
Is there a reason why both return with different behaviour? It would be perfect if both would return with errorcode 6, so developers could use both methods and scripts/CI can react on that in the same way.
The text was updated successfully, but these errors were encountered:
Conan version 1.6.1 handles constrained settings correctly now, when calling "create" (returns error code 6 on unsupported environments), but "info" still returns error code 1 in such a case.
* Added: Unittest for casing
* Added: Case-sensitive checking
* Added: Tests that show that `conan info` is not working as expected
* Added: Missing raise check when conan info gets called as well
There are two approaches to restrict the environment a recipe is working for: Constrain Settings and Options
When using the first approach and raising a
ConanInvalidConfiguration
Conan returns with errorcode 6. This could be further processed by scripts/CI perfectly. However the second approach with constraining the settings does not return with errorcode 6, but results in an error and errorcode 1 instead.Is there a reason why both return with different behaviour? It would be perfect if both would return with errorcode 6, so developers could use both methods and scripts/CI can react on that in the same way.
The text was updated successfully, but these errors were encountered: