Skip to content

Commit

Permalink
Fix gdbserver invocation
Browse files Browse the repository at this point in the history
Change-Id: Ieb69845c317ec75cd3933004a56fc6244e685e7b
Signed-off-by: Tim Newsome <tim@sifive.com>
  • Loading branch information
timsifive committed Jul 19, 2023
1 parent ff5b63f commit 7be217f
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/spike-openocd-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,18 +104,20 @@ jobs:
- name: Run Tests
run: |
cd riscv-tests/debug
./gdbserver.py targets/RISC-V/spike32.py --print-failures \
./gdbserver.py --print-failures \
--gcc /opt/riscv/toolchain/bin/riscv-none-elf-gcc \
--gdb /opt/riscv/toolchain/bin/riscv-none-elf-gdb \
--sim_cmd /opt/riscv/spike/bin/spike \
--server_cmd $GITHUB_WORKSPACE/src/openocd Unavail \
--target-timeout 5
./gdbserver.py targets/RISC-V/spike64-2.py --print-failures \
--server_cmd $GITHUB_WORKSPACE/src/openocd \
--target-timeout 5 \
targets/RISC-V/spike32.py Unavail
./gdbserver.py --print-failures \
--gcc /opt/riscv/toolchain/bin/riscv-none-elf-gcc \
--gdb /opt/riscv/toolchain/bin/riscv-none-elf-gdb \
--sim_cmd /opt/riscv/spike/bin/spike \
--server_cmd $GITHUB_WORKSPACE/src/openocd Unavail \
--target-timeout 5
--server_cmd $GITHUB_WORKSPACE/src/openocd \
--target-timeout 5 \
targets/RISC-V/spike64-2.py Unavail
- name: Archive test logs
# Proceed even if there was a failed test
Expand Down

0 comments on commit 7be217f

Please sign in to comment.