Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

How to perform unit test and integration test on RISCV architecture #104

Unanswered
StrayLittlePunk asked this question in Tutorial Questions
Discussion options

Thank you very much to the author for writing such an excellent article, but I have a question. How does cargo test entrust qemu to run the test, I imitated this method to run the test on the RISCV kernel, but the test results cannot be printed

I read Controlling Test Kernel Execution and be confused, Can someone tell me how to perform test on RISCV, Please ?

You must be logged in to vote

Replies: 1 comment

Comment options

Hi,

if you exchange the QEMU binary qemu-system-aarch64 for the corresponding RISCV one, the tests should load correctly.
However, changing to RISCV would mean a lot of other changes as well.

You would have a different BSP, with different peripherals (different UART) and all that. Did you make all those other changes as well?

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

AltStyle によって変換されたページ (->オリジナル) /