Skip to content

Conversation

seankingyang
Copy link
Contributor

@seankingyang seankingyang commented Jul 7, 2025

Description

Only list the avaliable tests.

The unavaliable test will be run, and it will not have log.
We can bypass the tests is empty.

Resolved issues

firmware/fwts_uefirtvariable
it’s in server image now, but it’s not fit on arm platform with FIT image

Documentation

Tests

@seankingyang seankingyang changed the title Fix: the unavailable test not print the log Fix: the unavailable test not print the log (BugFix) Jul 7, 2025
Copy link

codecov bot commented Jul 7, 2025

Codecov Report

❌ Patch coverage is 97.05882% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 53.04%. Comparing base (e44d8a3) to head (cd3fdd5).

Files with missing lines Patch % Lines
...kbox-support/checkbox_support/scripts/fwts_test.py 97.05% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2004      +/-   ##
==========================================
+ Coverage   52.84%   53.04%   +0.19%     
==========================================
  Files         395      395              
  Lines       42623    42635      +12     
  Branches     7902     7907       +5     
==========================================
+ Hits        22526    22614      +88     
+ Misses      19295    19194     -101     
- Partials      802      827      +25     
Flag Coverage Δ
checkbox-support 66.74% <97.05%> (+1.51%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@seankingyang seankingyang marked this pull request as ready for review July 8, 2025 08:23
@stanley31huang
Copy link
Collaborator

@seankingyang here is the resutls about list available fwts tests and run an unavailable fwts test

# Launch an unavailable fwts test
root@ubuntu:/home/ubuntu# python3 checkbox-support/checkbox_support/scripts/fwts_test.py -t uefirtvariable -l test.log
Unavailable Tests: 1
 WARNING: The following test cases are not available
 on this architecture. Running fwts --show-tests on
 this system will list available tests.
  - uefirtvariable

 Please review the following log for more information:

# list all supported fwts tests
root@ubuntu:/home/ubuntu# python3 checkbox-support/checkbox_support/scripts/fwts_test.py --list
cpufreq
klog
maxfreq
oops
version

# launch fwts resource job
root@ubuntu:/home/ubuntu# for test in $(python3 checkbox-support/checkbox_support/scripts/fwts_test.py --list); do echo "name: $test"; echo ""; done
name: cpufreq

name: klog

name: maxfreq

name: oops

name: version

root@ubuntu:/home/ubuntu#

stanley31huang
stanley31huang previously approved these changes Jul 10, 2025
Copy link
Collaborator

@stanley31huang stanley31huang left a comment

Choose a reason for hiding this comment

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

LGTM

@seankingyang seankingyang force-pushed the fwts_notavailable_test branch 2 times, most recently from f541519 to f2c703b Compare October 16, 2025 09:20
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.

2 participants