Skip to content

collector: add exclude_test to session.json - #31

Merged
xiaoxiang781216 merged 1 commit into
apache:mainfrom
raiden00pl:exclude-test
Oct 12, 2026
Merged

xiaoxiang781216 merged 1 commit into
apache:mainfrom
raiden00pl:exclude-test

Conversation

@raiden00pl

Copy link
Copy Markdown
Member

Lets a board config skip a single test by its pytest item name, without blacklisting it in the test suite for every board.

Lets a board config skip a single test by its pytest item name,
without blacklisting it in the test suite for every board.

Signed-off-by: raiden00pl <raiden00@railab.me>
zhangning21 added a commit to zhangning21/nuttx_zhn-test that referenced this pull request Oct 12, 2026
OpenVela's LTP kernel-test build defines __linux__ globally.  The POSIX
pthread_rwlock_unlock/4-2 case consequently reports itself unsupported and
does not emit the result text expected by NTFC.  Exclude this single pytest
item from rv-virt:citest's session without blacklisting it for other boards.

Requires apache/nuttx-ntfc#31.

Signed-off-by: zhangning21 <zhangning21@xiaomi.com>
zhangning21 added a commit to zhn-test/public-actions that referenced this pull request Oct 12, 2026
Verification only. Apply #31 after #30 and run its collector tests before excluding pthread_rwlock_unlock_4_2 through session.json.
@xiaoxiang781216
xiaoxiang781216 merged commit 9e17dbe into apache:main Oct 12, 2026
6 checks passed
zhangning21 added a commit to zhangning21/nuttx_zhn-test that referenced this pull request Oct 13, 2026
OpenVela's LTP kernel-test build defines __linux__ globally.  The POSIX
pthread_rwlock_unlock/4-2 case consequently reports itself unsupported and
does not emit the result text expected by NTFC.  Exclude this single pytest
item from rv-virt:citest's session without blacklisting it for other boards.

Requires apache/nuttx-ntfc#31.

Signed-off-by: zhangning21 <zhangning21@xiaomi.com>
zhangning21 added a commit to zhangning21/public-actions_openvela that referenced this pull request Oct 13, 2026
The rv-virt:citest session excludes a single test case with the
session.json "exclude_test" key added by apache/nuttx-ntfc#31, and its
help/popen cases need the device-flood fix from apache/nuttx-ntfc#30.
Neither is in the ntfc 0.0.3 release on PyPI yet.

Install ntfc from the apache/nuttx-ntfc commit that has both merged,
pinned by full SHA so the CI stays reproducible.  Switch back to a PyPI
release once one containing these changes is published.

Signed-off-by: zhangning21 <zhangning21@xiaomi.com>
xiaoxiang781216 pushed a commit to open-vela/nuttx that referenced this pull request Oct 19, 2026
OpenVela's LTP kernel-test build defines __linux__ globally.  The POSIX
pthread_rwlock_unlock/4-2 case consequently reports itself unsupported and
does not emit the result text expected by NTFC.  Exclude this single pytest
item from rv-virt:citest's session without blacklisting it for other boards.

Requires apache/nuttx-ntfc#31.

Signed-off-by: zhangning21 <zhangning21@xiaomi.com>
xiaoxiang781216 pushed a commit to open-vela/public-actions that referenced this pull request Oct 19, 2026
The rv-virt:citest session excludes a single test case with the
session.json "exclude_test" key added by apache/nuttx-ntfc#31, and its
help/popen cases need the device-flood fix from apache/nuttx-ntfc#30.
Neither is in the ntfc 0.0.3 release on PyPI yet.

Install ntfc from the apache/nuttx-ntfc commit that has both merged,
pinned by full SHA so the CI stays reproducible.  Switch back to a PyPI
release once one containing these changes is published.

Signed-off-by: zhangning21 <zhangning21@xiaomi.com>
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.

4 participants