Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debug: Don't rely on RISCV env #487

Merged
merged 1 commit into from
Jul 7, 2023
Merged

debug: Don't rely on RISCV env #487

merged 1 commit into from
Jul 7, 2023

Conversation

timsifive
Copy link
Collaborator

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

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
@timsifive timsifive requested a review from GregSavin June 30, 2023 17:58
@timsifive timsifive merged commit fb7a4a7 into master Jul 7, 2023
@timsifive timsifive deleted the debug_path branch July 7, 2023 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Debug tests insist on spike/openocd being in /bin
2 participants