Skip to content

Commit

Permalink
remove unneeded test from gdb tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wsipak committed Oct 14, 2024
1 parent 199eae1 commit 9e0308e
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 94 deletions.
44 changes: 0 additions & 44 deletions .github/scripts/peripheral_access.gdb

This file was deleted.

25 changes: 0 additions & 25 deletions .github/scripts/peripheral_access.sh

This file was deleted.

9 changes: 0 additions & 9 deletions .github/scripts/peripheral_access_golden.txt

This file was deleted.

16 changes: 0 additions & 16 deletions .github/workflows/test-openocd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,22 +95,6 @@ jobs:
/bin/bash -c 'cd ${RV_ROOT}/.github/scripts && ./mem_access.sh' || true
pkill openocd || true
- name: Test with GDB-test (peripheral access)
run: |
# TODO REMOVE THIS TEST, as we aim to target all possible memory regions in the test above this,
# and there are no actual peripherals in the tesbench.
# TODO GDB is in /opt/riscv and a separate toolchain is installed with apt. Make this better.
export PATH=/opt/riscv/bin:/opt/verilator/bin:/opt/openocd/bin:$PATH
export RV_ROOT=$(pwd)
mkdir periph_test
make -C periph_test -f ${RV_ROOT}/tools/Makefile verilator-build program.hex TEST=infinite_loop \
CONF_PARAMS="-set build_${{ matrix.bus }} -set openocd_test" COVERAGE=${{ matrix.coverage }}
cd periph_test
${RV_ROOT}/.github/scripts/gdb_test.sh \
/bin/bash -c 'cd ${RV_ROOT}/.github/scripts && ./peripheral_access.sh' || true
pkill openocd || true
- name: Test with GDB-test (breakpoints)
run: |
# TODO GDB is in /opt/riscv and a separate toolchain is installed with apt. Make this better.
Expand Down

0 comments on commit 9e0308e

Please sign in to comment.