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

Removal of the use of non-API global variables in tests #1696

Merged
merged 10 commits into from
Apr 15, 2023
Merged

Conversation

edwardalee
Copy link
Collaborator

@edwardalee edwardalee commented Apr 13, 2023

This PR replaces the use of global variables start_time and current_tag with function calls that are meant to be part of the API. This is part of a broader cleanup of the C target that is happening in docs branch of reactor-c, but these changes have no dependence on that branch and should be merged before that branch is merge.

@edwardalee edwardalee changed the title Documentation and code cleanup Avoid directly using global variables in tests Apr 14, 2023
@edwardalee edwardalee marked this pull request as ready for review April 15, 2023 05:45
@edwardalee edwardalee added c Related to C target cleanup labels Apr 15, 2023
@edwardalee
Copy link
Collaborator Author

Note that I have already pushed a similar cleanup to the examples, benchmarks, and website repos.

@edwardalee edwardalee merged commit 749718f into master Apr 15, 2023
@petervdonovan petervdonovan changed the title Avoid directly using global variables in tests Removal of the use of non-API global variables in tests Aug 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c Related to C target cleanup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants