fault icon indicating copy to clipboard operation
fault copied to clipboard

Improve test outputs

Open rsetaluri opened this issue 6 years ago • 1 comments

  • [ ] 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.

rsetaluri avatar Sep 21 '18 18:09 rsetaluri

These all sound great, changed them to check boxes

leonardt avatar Sep 21 '18 20:09 leonardt