summaryrefslogtreecommitdiff
path: root/test/gtest/print-test.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove obsolete parser code (#6607)Thomas Lively2024-05-291-1/+0
| | | | | Remove `SExpressionParser`, `SExpressionWasmBuilder`, and `cashew::Parser`. Simplify gen-s-parser.py. Remove the --new-wat-parser and --deprecated-wat-parser flags.
* Use the new wat parser in tests (#6556)Thomas Lively2024-04-291-3/+5
| | | | | | | Some of the example and gtest tests parse wat. Update them to use the new wat parser, fixing problems with their text input. In one case, comment out an outlining test entirely for now because the new parser produces different IR that changes the test output, but it is not obvious how to understand and fix the test.
* Add a gtest fixture for tests checking printed output (#5781)Thomas Lively2023-06-231-0/+28
Such tests all have to handle disabling and re-enabling color output for printed wast and have to handle parsing input wast, so add a test fixture that makes these tasks easier.