aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-07-17Move `import random`Tim Newsome1-1/+2
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.
2023-07-13Merge pull request #490 from riscv-software-src/flushregsTim Newsome1-4/+4
debug: flushregs -> maintenance flush register-cache
2023-07-13debug: flushregs -> maintenance flush register-cacheTim Newsome1-4/+4
flushregs is deprecated.
2023-07-13Add an exclude list for known failing Hifive1 tests (#485)Marek Vrbka1-0/+28
* 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>
2023-07-10Merge pull request #486 from en-sc/en-sc/warning-repeat-readTim Newsome1-2/+15
change warning check in RepeatReadTest
2023-07-07Merge pull request #487 from riscv-software-src/debug_pathTim Newsome2-8/+4
debug: Don't rely on RISCV env
2023-07-07change warning check in RepeatReadTestEvgeniy Naydanov1-2/+15
2023-07-05Merge pull request #484 from TommyMurphyTM1234/masterTim Newsome1-2/+2
Fix for test program compilation failures due to lack of `zicsr` extension in `-march=rvXX...`
2023-06-30debug: Don't rely on RISCV envTim Newsome2-8/+4
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
2023-06-30Merge pull request #483 from riscv-software-src/pylintTim Newsome1-2/+2
debug: pylint fix.
2023-06-30Fix for https://github.com/riscv-software-src/riscv-tests/issues/482Tommy Murphy1-2/+2
2023-06-29debug: pylint fix.Tim Newsome1-2/+2
2023-06-29Merge pull request #480 from riscv-software-src/pylintTim Newsome2-4/+24
Github workflow to run pylint against debug tests
2023-06-29Merge pull request #479 from riscv-software-src/debug_timeoutTim Newsome1-1/+7
Add --target-timeout to debug test script.
2023-06-29Add --target-timeout to debug test script.Tim Newsome1-1/+7
I'm using this to greatly reduce the timeout when I'm reproducing a failure I know is going to time out.
2023-06-29Merge pull request #478 from Du-Chao/masterTim Newsome1-4/+16
debug: optimize the FreeRtosTest case.
2023-06-27Github workflow to run pylint against debug testsTim Newsome1-0/+17
2023-06-27Pylint fixes.Tim Newsome1-4/+7
2023-06-27Merge pull request #477 from MarekVCodasip/test-exclusionTim Newsome4-1/+52
Add a way to exclude tests by specifying an exclusion file
2023-06-27Add a way to exclude tests by specifying an exclusion fileMarek Vrbka4-1/+52
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.
2023-06-15debug: optimize the FreeRtosTest case.Chao Du1-4/+16
To make sure the rtos module of OpenOCD works well. Signed-off-by: Chao Du <duchao@eswincomputing.com>
2023-06-13Merge pull request #476 from riscv-software-src/env_argsTim Newsome1-7/+10
Get gcc and gdb path from environment.
2023-06-12Get gcc and gdb path from environment.Tim Newsome1-7/+10
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.
2023-05-26Merge pull request #474 from riscv-software-src/pylintTim Newsome4-24/+34
debug: New pylint => new warnings => new cleanups
2023-05-25debug: New pylint => new warnings => new cleanupsTim Newsome4-24/+34
- 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
2023-05-22Switch bmarks makefile to rv64gcvJerry Zhao1-1/+1
2023-05-22Add vec-strcmpJerry Zhao3-0/+67
2023-05-22Add vec-sgemmJerry Zhao6-0/+663
2023-05-22Update vec-memcpy commentsJerry Zhao1-1/+1
2023-05-22Add vec-daxpyJerry Zhao5-0/+382
2023-05-22Add vec-memcpy benchmarkJerry Zhao8-14/+412
2023-05-22Enable VS for benchmarksJerry Zhao1-2/+2
2023-05-22Add scalar single-threaded/mt memcpyJerry Zhao7-2/+889
2023-05-22Improve performance of syscalls/memcpyJerry Zhao1-1/+15
2023-05-11Merge pull request #470 from riscv-software-src/pylintTim Newsome2-61/+8
New pylint, so make everything clean again.
2023-05-10New pylint, so make everything clean again.Tim Newsome2-61/+8
2023-05-03Merge pull request #469 from riscv-software-src/openocd_cfgTim Newsome7-34/+34
Update OpenOCD cfg files to new syntax
2023-05-01Update OpenOCD cfg files to new syntaxTim Newsome7-34/+34
We were using a variety of deprecated commands. The driving force behind this was the new way to use `expr{}` as the old way no longer works with mainline OpenOCD.
2023-04-06Augment LR/SC test to test that SC-after-failed-SC failsAndrew Waterman1-2/+5
2023-04-06Merge pull request #466 from riscv-software-src/spike-zicntrAndrew Waterman1-2/+2
Include Zicntr in Spike ISA string
2023-04-06Merge pull request #464 from nervosnetwork/amocmp_wAndrew Waterman4-1/+40
Add more tests for amo[max/maxu/min/minu]_w
2023-04-06Include Zicntr in Spike ISA stringAndrew Waterman1-2/+2
Spike no longer enables Zicntr by default, so turn it on explicitly. cc @jerryz123
2023-04-06Add more tests for amomax/maxu/min/minu_wmohanson4-1/+40
2023-03-16Bump env to cope with Smrnmi extensionAndrew Waterman1-0/+0
2023-03-16Fix breakpoint.S failing when tcontrol is implemented (#463)Luke Wren1-0/+10
2023-03-03bump envAndrew Waterman1-0/+0
2023-03-02Merge pull request #461 from riscv-software-src/icount_fixTim Newsome1-1/+1
Fix intermittent IcountTest failure on multi hart.
2023-03-01Fix intermittent IcountTest failure on multi hart.Tim Newsome1-1/+1
Don't build with -DMULTICORE because this is not a test that really does multicore. It's one where we just want to park the other harts.
2023-02-28Merge pull request #458 from Du-Chao/masterTim Newsome1-2/+2
debug: fix pylint error W0621 redefined-outer-name
2023-02-28Merge pull request #456 from riscv-software-src/icountTim Newsome1-0/+27
Add test for icount triggers.