fault
fault copied to clipboard
Improve test outputs
- [ ] Capture line info so we can print original source of expect failures and prints
- [ ] Make expect failures uniform across targets
- [ ] Verilator target:
- When we run with the verilator target there is a lot of output, mostly the verilator compilation output. Also, when the test fails, the actual output is buried. I think we should ideally capture all the compilation output and only print it if there is a failure. For actual test failures, we should have some standardized way of capturing the error and then relaying it, rather than just printing from the .cpp driver. For example we could write to a file, and then parse that file and print expect failures or print statements. It may make things a bit slower but shouldn't be too bad. Plus, the utility of tests is greatly compromised if you can't debug failures.
These all sound great, changed them to check boxes