- Jul 22, 2023
-
-
Tim Newsome authored
This should avoid problems like we just had where bad tests can break the OpenOCD workflow. These tests only run if any debug files are changed, so should have no impact at all on non-debug tests in this repo. This file is copied and then slightly changed from riscv-openocd. New changes are that cacheable steps (building spike, OpenOCD) are stored to the cache even if running the tests fails.
-
- Jul 21, 2023
-
-
Tim Newsome authored
debug: Only run pylint if debug files changed.
-
- Jul 20, 2023
-
-
Tim Newsome authored
Just doing this to make a change in the debug files, which should now cause the pylint workflow to execute.
-
Tim Newsome authored
-
- Jul 19, 2023
-
-
Tim Newsome authored
debug: Disable unavailable tests.
-
Tim Newsome authored
They have issues when run in a github workflow.
-
- Jul 18, 2023
-
-
Tim Newsome authored
debug: Test OpenOCD behavior when harts become unavailable, using new spike mechanism
-
Tim Newsome authored
Use new spike mechanism to test OpenOCD behavior when a hart becomes unavailable, and then available again.
-
Tim Newsome authored
Use new spike mechanism to test OpenOCD behavior when the current hart becomes unavailable while running. Create ThreadTerminated exception.
-
Tim Newsome authored
Use the new spike mechanism to test OpenOCD behavior when a hart becomes unavailable while running. Create CommandException.
-
Tim Newsome authored
It's a bit messy to read the log file to get the output, but it seems to be flushed often so that this works. Also, added the `targets` method for retrieving the list of targets, and `wait_until_running` method to wait until all targets are in a running state.
-
Tim Newsome authored
-
Tim Newsome authored
-
Tim Newsome authored
-
Tim Newsome authored
Just so it's easier to quickly comment out code and hard-code the target to use without pylint complaining. This really should be a command line option.
-
- Jul 14, 2023
-
-
Tim Newsome authored
debug: flushregs -> maintenance flush register-cache
-
Tim Newsome authored
flushregs is deprecated.
-
- Jul 13, 2023
-
-
Marek Vrbka authored
* Add an exclude list for known failing Hifive1 tests This commit adds a list of known failing tests based on: https://github.com/riscv/riscv-openocd/issues/869#issue-1769176709 * Fix name of the HiFive1 flash target Signed-off-by:
Marek Vrbka <133884222+MarekVCodasip@users.noreply.github.com> --------- Signed-off-by:
Marek Vrbka <133884222+MarekVCodasip@users.noreply.github.com>
-
- Jul 11, 2023
-
-
Tim Newsome authored
change warning check in RepeatReadTest
-
- Jul 08, 2023
-
-
Tim Newsome authored
debug: Don't rely on RISCV env
-
- Jul 07, 2023
-
-
Evgeniy Naydanov authored
-
- Jul 05, 2023
-
-
Tim Newsome authored
Fix for test program compilation failures due to lack of `zicsr` extension in `-march=rvXX...`
-
- Jul 01, 2023
-
-
Tim Newsome authored
That made sense when mostly people used riscv-tools, but now they get tools from all sorts of places and most of them are suitable for the debug tests. Also document RISCV_TESTS_DEBUG_GCC and RISCV_TESTS_DEBUG_GDB environment variables in the README. The github workflows that rely on these tests don't use the Makefile, but instead invoke gdbserver.py directly, so they're not affected by this change. Fixes #481
-
Tim Newsome authored
debug: pylint fix.
-
- Jun 30, 2023
-
-
-
Tim Newsome authored
-
Tim Newsome authored
Github workflow to run pylint against debug tests
-
Tim Newsome authored
Add --target-timeout to debug test script.
-
Tim Newsome authored
I'm using this to greatly reduce the timeout when I'm reproducing a failure I know is going to time out.
-
Tim Newsome authored
debug: optimize the FreeRtosTest case.
-
- Jun 28, 2023
-
-
Tim Newsome authored
-
Tim Newsome authored
-
Tim Newsome authored
Add a way to exclude tests by specifying an exclusion file
-
- Jun 27, 2023
-
-
Marek Vrbka authored
This patch adds a way to specify a yaml file which specifies either for each target individually or for all targets to exclude tests. Example file format is included in excluded.yaml.example.
-
- Jun 15, 2023
-
-
Chao Du authored
To make sure the rtos module of OpenOCD works well. Signed-off-by:Chao Du <duchao@eswincomputing.com>
-
- Jun 14, 2023
-
-
Tim Newsome authored
Get gcc and gdb path from environment.
-
- Jun 13, 2023
-
-
Tim Newsome authored
If the environment variables aren't set, then use the same defaults as previously. My current set of tools use riscv64-elf-gcc and riscv64-elf-gdb, and this makes it trivial to use them.
-
- May 26, 2023
-
-
Tim Newsome authored
debug: New pylint => new warnings => new cleanups
-
Tim Newsome authored
- Replace general "Exception" with "GdbServerError" in gdbserver.py for when no samples are collected - Replace general "Exception" with "TargetsException" in targets.py for XLEN mismatch - Introduce "TestLibError" exception in testlib.py and replace general exceptions in various locations - Update pylint.rc to remove overgeneral-exceptions warning
-
- May 23, 2023
-
-
Jerry Zhao authored
-