Skip to content

Correct parse.py example#375

Merged
aswaterman merged 1 commit intoriscv:masterfrom
San7o:fix-readme-example
Oct 5, 2025
Merged

Correct parse.py example#375
aswaterman merged 1 commit intoriscv:masterfrom
San7o:fix-readme-example

Conversation

@San7o
Copy link
Copy Markdown
Contributor

@San7o San7o commented Oct 5, 2025

This PR corrects the example usage of parse.py in the README.

The previous example set the extensions to use by specifying an
EXTENSIONS variable as a command line argument to the
script parse.py. This does not work, instead extensions should be
provided directly without a variable EXTENSIONS.

The output of the script is misleading since no extensions are actually
used if the command passes them through "EXTENSIONS"

This can be tested by running a command like

./parse.py -c EXTENSIONS='rv*_i rv*_m'

then inspecting the generated file and noticing that the extensions
were not actually used, for example by checking the MATCH_ defines.
The command:

`./parse.py -c rv*_i rv*_m

works.

I tested this on Linux using sh and bash shells with python3.13.2.

@aswaterman
Copy link
Copy Markdown
Member

Thanks for taking the time to improve the README.

@codecov
Copy link
Copy Markdown

codecov bot commented Oct 5, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.13%. Comparing base (383cbca) to head (3d3f882).
⚠️ Report is 34 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #375      +/-   ##
==========================================
+ Coverage   96.53%   97.13%   +0.60%     
==========================================
  Files          10       12       +2     
  Lines         750      909     +159     
==========================================
+ Hits          724      883     +159     
  Misses         26       26              

☔ 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.

@aswaterman aswaterman merged commit c35a8ed into riscv:master Oct 5, 2025
12 checks passed
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