Skip to content
New issue

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

[Hexagon] moves conftest.py to tvm.contrib.hexagon so outside repos can access the testing fixtures #11277

Merged
merged 2 commits into from
May 19, 2022

Conversation

farshidsp
Copy link
Contributor

  • Copied the content of conftest.py to tvm.contrib.hexagon.pytest_plugin --> Outside repos can now access the hexagon specific fixtures.

  • Modified the conftest.py to only import the tvm.contrib.hexagon.pytest_plugin

  • Modified all the hexagon tests to import requires_hexagon_toolchain from tvm.contrib.hexagon.pytest_plugin

@Lunderberg @mehrdadh @csullivan

Copy link
Contributor

@Lunderberg Lunderberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@farshidsp farshidsp requested a review from mehrdadh May 18, 2022 20:09
Copy link
Member

@mehrdadh mehrdadh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! thanks!

@@ -26,7 +26,7 @@
from tvm.contrib.hexagon.session import Session
from tvm.testing.usmp import is_tvm_backendallocworkspace_calls

from .conftest import requires_hexagon_toolchain
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's change this to require_hexagon in a follow up PR.

@mehrdadh mehrdadh merged commit 8d0da24 into apache:main May 19, 2022
juda pushed a commit to juda/tvm that referenced this pull request Jun 21, 2022
…an access the testing fixtures (apache#11277)

* adding pytest_plugin to python so other repos can access

* import requires_hexagon_toolchain from tvm.contrib.hexagon.pytest_plugin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants