-
Notifications
You must be signed in to change notification settings - Fork 219
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
chore(debugger): Integration tests #3938
Merged
TomAFrench
merged 18 commits into
noir-lang:master
from
manastech:chore/debugger-integration-tests
Jan 4, 2024
Merged
chore(debugger): Integration tests #3938
TomAFrench
merged 18 commits into
noir-lang:master
from
manastech:chore/debugger-integration-tests
Jan 4, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TomAFrench
approved these changes
Jan 4, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
5 tasks
TomAFrench
added a commit
that referenced
this pull request
Jan 5, 2024
* master: (137 commits) chore: add `insert_range_check` method to `FunctionBuilder` (#3959) chore: remove usage of term "preprocessed" in favour of "artifact" (#3939) feat(lsp): goto trait from trait impl (#3956) fix: preserve brillig entrypoint functions without arguments (#3951) feat: implement `Eq` trait on curve points (#3944) chore: fixing links to the blackbox functions (#3941) feat(lsp): cache definitions for goto requests (#3930) feat: remove range constraints from witnesses which are constrained to be constants (#3928) fix: implement missing codegen for `BlackBoxFunc::EcdsaSecp256r1` in brillig (#3943) chore(debugger): Integration tests (#3938) fix: handle multiple imports in the same file (#3903) feat: add foreign call support to `noir_codegen` functions (#3933) feat: Implement Operator Overloading (#3931) chore: fix casing on `InternalError::Unexpected` (#3937) chore: add test case for brillig array equality assertion (#3936) feat(lsp): goto struct member inside Impl method (#3918) chore: fix broken links (#3935) chore: updated ACIR documentation and other docs (#3932) chore: rename "syntax" chapter in docs to "concepts" (#3934) fix: checks for cyclic dependencies (#3699) ...
github-merge-queue bot
pushed a commit
that referenced
this pull request
Jan 5, 2024
# Description ## Problem\* Resolves <!-- Link to GitHub Issue --> ## Summary\* Clippy fixes along with small changes after #3938 ## Additional Context ## Documentation\* Check one: - [ ] No documentation needed. - [ ] Documentation included in this PR. - [ ] **[Exceptional Case]** Documentation to be submitted in a separate PR. # PR Checklist\* - [ ] I have tested the changes locally. - [ ] I have formatted the changes with [Prettier](https://prettier.io/) and/or `cargo fmt` on default settings.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Adds integration tests for the debugger.
Problem
Related to #3015. Generates a new suite of tests that uses the examples at test_programs/execution_success to verify that the debugger can be started and stepped to completion with those examples.
Summary
We take the same approach used for the
nargo execute
cmd: generating test cases from those at test_programs/execution_success. This means future extensions to the Noir language captured in those examples will automatically be included in the debugger integration suite, and will help detect any potential divergence between the language runtime and the debugger instrumentation.Documentation
Check one:
PR Checklist*
cargo fmt
on default settings.