We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conan already has condition to handle self.should_test. Expand the expression to cover CONAN_RUN_TESTS environment variable:
self.should_test
CONAN_RUN_TESTS
Current:
def test(self, args=None, build_dir=None, target=None, output_on_failure=False): if not self._conanfile.should_test: return
Proposal:
def test(self, args=None, build_dir=None, target=None, output_on_failure=False): if not self._conanfile.should_test and tools.get_env("CONAN_RUN_TESTS", True): return
CONAN_RUN_TESTS documentation.
The text was updated successfully, but these errors were encountered:
A better solution could be to take CONAN_RUN_TEST into account when setting conan_file.should_test in cmd_build method.
CONAN_RUN_TEST
conan_file.should_test
cmd_build
Sorry, something went wrong.
Implemented in #8687, will be in Conan 1.35
No branches or pull requests
Conan already has condition to handle
self.should_test
. Expand the expression to coverCONAN_RUN_TESTS
environment variable:Current:
Proposal:
CONAN_RUN_TESTS
documentation.The text was updated successfully, but these errors were encountered: