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

Improvements for rpm make check #100

Merged
merged 2 commits into from
Dec 8, 2023

Conversation

afreof
Copy link
Contributor

@afreof afreof commented Dec 8, 2023

Part of #67.

Automated tests are required for Fedora packages. These two changes make it possible to run the tests in the %check step of the rpm build process.

Copy link

codecov bot commented Dec 8, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (1555087) 78.17% compared to head (10c4187) 78.17%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #100   +/-   ##
=======================================
  Coverage   78.17%   78.17%           
=======================================
  Files          17       17           
  Lines        2667     2667           
=======================================
  Hits         2085     2085           
  Misses        582      582           

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

Add the possibility to run the tests without compiling the sources
again. This is needed e.g. for the make check step in the spec file for
Fedora.

Signed-off-by: Adrian Freihofer <[email protected]>
The run-with-simulator script is executed by the make check step of
the rpm build process. Therefore it should be packaged into the release
tar bundles.

Signed-off-by: Adrian Freihofer <[email protected]>
@gotthardp gotthardp merged commit be35c35 into tpm2-software:master Dec 8, 2023
9 checks passed
@gotthardp
Copy link
Contributor

Thanks.

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