question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[question] `conf_info` and `test_requires`

See original GitHub issue

What is your question?

I have a system root package that does the following:

    def package_info(self) -> None:
        self.conf_info.define("tools.build:sysroot", f"{self.package_path}")

I want to test that this is working, so use the following in the corresponding test_package/conanfile.py:

    def build_requirements(self) -> None:
        assert self.tested_reference_str is not None
        self.test_requires(self.tested_reference_str)

However, the tools.build:sysroot is not applied to the configuration for my test package.

I cannot therefore test the package in the way it will be used.

Have you read the CONTRIBUTING guide?

  • I’ve read the CONTRIBUTING guide

Issue Analytics

  • State:open
  • Created 9 months ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
mattyclarksoncommented, Dec 14, 2022

Understood. I was misinterpreting the documentation, thanks for the helpful clarification.

0reactions
mattyclarksoncommented, Dec 16, 2022

I would be happy to contribute that API, if the project would accept that concept.

Read more comments on GitHub >

github_iconTop Results From Across the Web

united states district court
factor test, including the question of whether their desired injunction ... This test “requires that a hypothetical profit-maximizing firm, ...
Read more >
Metaphilosophical Criteria for Worldview Comparison
Abstract: Philosophy lacks criteria to evaluate its philosophical theories. To fill this gap, we introduce nine criteria to compare worldviews, ...
Read more >
Jurisdictional Salvation and the Hague Treaty
Hague Conf. Info. Doc. No. 2 (Sept. ... ond court faces the question of whether the prior judgment is valid ... Instead, the...
Read more >
Continuum 400 Series Diagnostics User's Guide - Yumpu
The test requires a 'partner' enet test running on a node in thenetwork, ... update "/etc/confinfo" to reflect the new RSD (Remote# Stream ......
Read more >
Environmental Science & Engineering Magazine (ESEMAG ...
We take sole-source responsibi l ity tor solving your problem, from the develop ment and manufacturing ot ... mail: confinfo@wef.org.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found