4 Commits

Author SHA1 Message Date
Aina Niemetz
0647c4c107 Update copyright headers. (#11561)
Co-authored-by: Daniel Larraz <daniel-larraz@users.noreply.github.com>
2025-01-23 17:54:20 +00:00
Aina Niemetz
fdf9ce7138 Update copyright headers. (#10459) 2024-03-12 09:35:09 -07:00
Daniel Larraz
e5848ce786 Make binary test more robust (#10406)
This PR updates test/binary/interactive_shell_parser_inc.py so that the sendline function does not match and ignore previous output. The revised Python script also prints the found output when an assertion fails.
2024-02-20 08:13:34 -06:00
Andrew Reynolds
d89e0d5d1a Revert behavior changes to interactive shell (#10268)
The commit 68fc815 changed the behavior of the interactive shell to use setStringInput instead of setIncrementalStringInput / appendIncrementalStringInput. This change introduces a new private method to replicate the old behavior, where we do not reallocate a parser each line, which leads to issues (which happened to be found in #10258).

It furthermore corrects an issue in incremental when using the parser API, where multiple "outermost contexts" could be pushed on a symbol manager, which leads to synchronization issues concerning scope levels in symbol manager.

Also adds a test for the interactive shell that would have caught this.
2024-01-11 15:04:20 +00:00