Skip to content

Conversation

@Lunderberg
Copy link
Contributor

Show test as skipped, rather than failing test.

Copy link
Contributor

@leandron leandron left a comment

Choose a reason for hiding this comment

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

LGTM, cc @Mousius @ashutosh-arm.

Show test as skipped, rather than failing test.
@Lunderberg Lunderberg force-pushed the test_cmsisnn_pytest_skipif branch from 97976f9 to 6631264 Compare October 4, 2021 16:54
@asparkhi
Copy link
Contributor

asparkhi commented Oct 4, 2021

Should we do it similar to requires_ethosn() from tvm/testing/utils.py?

@Lunderberg
Copy link
Contributor Author

We can, yes. My initial goal was to avoid adding too many utility functions that are only used for one or two tests, but I can see how having separate ways of doing the same thing would lead to growing pains and confusion down the line.

@masahi masahi merged commit 7c6d71b into apache:main Oct 5, 2021
@Lunderberg Lunderberg deleted the test_cmsisnn_pytest_skipif branch October 5, 2021 03:43
@asparkhi
Copy link
Contributor

asparkhi commented Oct 5, 2021

Thanks @Lunderberg :)

Mousius added a commit to Mousius/tvm that referenced this pull request Oct 5, 2021
apache#9179 and apache#9167 both landed at the same time which resulted in new tests without the skipping.
masahi pushed a commit that referenced this pull request Oct 6, 2021
#9179 and #9167 both landed at the same time which resulted in new tests without the skipping.
ylc pushed a commit to ylc/tvm that referenced this pull request Jan 7, 2022
…ies (apache#9179)

* [UnitTests][CMSISNN] Mark CMSISNN with skipif they are missing libraries

Show test as skipped, rather than failing test.

* Added tvm.testing.requires_cmsisnn
ylc pushed a commit to ylc/tvm that referenced this pull request Jan 7, 2022
…e#9200)

apache#9179 and apache#9167 both landed at the same time which resulted in new tests without the skipping.
ylc pushed a commit to ylc/tvm that referenced this pull request Jan 13, 2022
…ies (apache#9179)

* [UnitTests][CMSISNN] Mark CMSISNN with skipif they are missing libraries

Show test as skipped, rather than failing test.

* Added tvm.testing.requires_cmsisnn
ylc pushed a commit to ylc/tvm that referenced this pull request Jan 13, 2022
…e#9200)

apache#9179 and apache#9167 both landed at the same time which resulted in new tests without the skipping.
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.

5 participants