Skip to content

Conversation

aashu10sh
Copy link

Summary

Converted all the instances of printf to fprintf(stderr,..) in the C test suite.
Fixes #15097

All the tests were ran after changes to the code was made and tests passed successfully.

Details and comments

I am sorry if this does not meet the standards of the repository. This is my first "real" open source contribution:) Please let me know if there is anything to improve/change.

@aashu10sh aashu10sh requested a review from a team as a code owner October 4, 2025 12:27
@qiskit-bot qiskit-bot added the Community PR PRs from contributors that are not 'members' of the Qiskit repo label Oct 4, 2025
@qiskit-bot
Copy link
Collaborator

Thank you for opening a new pull request.

Before your PR can be merged it will first need to pass continuous integration tests and be reviewed. Sometimes the review process can be slow, so please be patient.

While you're waiting, please feel free to review other open PRs. While only a subset of people are authorized to approve pull requests for merging, everyone is encouraged to review open pull requests. Doing reviews helps reduce the burden on the core team and helps make the project's code better for everyone.

One or more of the following people are relevant to this code:

  • @Qiskit/terra-core

@CLAassistant
Copy link

CLAassistant commented Oct 4, 2025

CLA assistant check
All committers have signed the CLA.

@coveralls
Copy link

coveralls commented Oct 4, 2025

Pull Request Test Coverage Report for Build 18246653754

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 5 unchanged lines in 4 files lost coverage.
  • Overall coverage increased (+0.02%) to 88.24%

Files with Coverage Reduction New Missed Lines %
crates/circuit/src/parameter/parameter_expression.rs 1 81.99%
crates/circuit/src/parameter/symbol_expr.rs 1 72.86%
crates/qasm2/src/expr.rs 1 93.82%
crates/qasm2/src/lex.rs 2 92.54%
Totals Coverage Status
Change from base Build 18229727033: 0.02%
Covered Lines: 93133
Relevant Lines: 105545

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Community PR PRs from contributors that are not 'members' of the Qiskit repo

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

Use fprintf over printf in C tests

4 participants