1. Dec 15, 2022
    • Tim Newsome's avatar
      debug: Add CeaseStepiTest. · b08e2ee7
      Tim Newsome authored
      Test that we work correctly when the hart we're debugging ceases to
      respond during stepi.
      
      Add wait parameter to Gdb.stepi(), in case stepi isn't expected to complete.
      Parse "could not read registers" error from gdb
      b08e2ee7
    • Tim Newsome's avatar
      debug: Create CeaseMultiTest. (#436) · 55bbcc8c
      Tim Newsome authored
      Confirm basic debug still works when other harts have been parked using
      a `cease` instruction. Check that the unavailable harts are inaccessible
      from gdb.
      
      Add Gdb.expect()
      Parse "unknown thread" error from gdb.
      55bbcc8c
    • Tim Newsome's avatar
      debug: Remove unnecessary exit() functions. (#437) · 898c20bf
      Tim Newsome authored
      Also make the semi-hosting test program return 10. That's more fragile
      than returning 0, so makes for a better test.
      898c20bf
  2. Dec 09, 2022
  3. Dec 08, 2022
  4. Dec 02, 2022
  5. Nov 11, 2022
  6. Nov 05, 2022
    • Tim Newsome's avatar
      Make MulticoreRegTest work with real hardware. · 0d690752
      Tim Newsome authored
      It would fail intermittently. We can't guarantee all harts resume
      simultaneously. When we let multiple harts run to a breakpoint at the
      end of the same loop, one is likely to get there first, and the second
      won't make it.
      
      To avoid this problem, run for a short amount of time instead of to a
      breakpoint.
      0d690752
  7. Nov 04, 2022
  8. Oct 27, 2022
  9. Oct 25, 2022
    • Tim Newsome's avatar
      Increase timeouts for multi-spike test. (#423) · fb8ab0e8
      Tim Newsome authored
      Between October 13 and October 19, something happened that makes the
      multi-spike tests 4 times slower. Rolling back spike, OpenOCD, or
      riscv-tests doesn't affect this. Presumably it's due to a kernel or
      python change in my Ubuntu system.
      
      I don't have time to look at this right now, so just increase the timeouts. :-(
      
      If I had to guess, there could be a bug in rbb_daisychain.py that wastes
      a lot of time.
      fb8ab0e8
  10. Oct 22, 2022
  11. Oct 21, 2022
  12. Oct 13, 2022
  13. Oct 11, 2022
  14. Oct 08, 2022
  15. Oct 07, 2022
  16. Oct 06, 2022
    • YenHaoChen's avatar
      Update testlib.py; remove ANSI escape sequences · 9c963737
      YenHaoChen authored
      The control sequences (^[[?2004h and ^[[?2004l) occur after the
      gdb.command, which results in Exception fault. This commit removes the
      control sequences and strips out the blank lines (^M).
      9c963737
  17. Oct 05, 2022
  18. Sep 28, 2022
  19. Sep 27, 2022
  20. Jul 26, 2022
  21. Jul 23, 2022
  22. Jul 15, 2022
  23. Jul 11, 2022
  24. Jul 09, 2022
    • Tim Newsome's avatar
      Fix SemihostingFileio (#403) · 3f606376
      Tim Newsome authored
      Turn semihosting_fileio on for every hart. This test still fails if it
      ends up running on hart 1 instead of 0, but at least it's closer to
      passing. Feels like the remaining problem is in OpenOCD.
      3f606376
  25. Jul 02, 2022
  26. Jun 23, 2022
    • Tim Newsome's avatar
      Another pylint upgrade. (#398) · fc38747b
      Tim Newsome authored
      * Another pylint upgrade.
      
      Lots of format string changes, which are more readable.
      
      More files to come...
      
      * Satisfy pylint for two more files.
      fc38747b
  27. Jun 22, 2022
  28. Jun 10, 2022
    • Tim Newsome's avatar
      Test misaligned stores. (#397) · 71ee281a
      Tim Newsome authored
      Assume that misaligned loads work correctly.
      
      Passes `make -C isa run` against spike (both with and without misaligned
      support).
      71ee281a
  29. Jun 09, 2022
  30. Jun 08, 2022