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

Allow Rust testprograms #4

Open
TeyKey1 opened this issue Jan 28, 2024 · 0 comments
Open

Allow Rust testprograms #4

TeyKey1 opened this issue Jan 28, 2024 · 0 comments
Assignees

Comments

@TeyKey1
Copy link
Member

TeyKey1 commented Jan 28, 2024

Currently only test programs written in assembly are supported as Hive testprograms. The reason for that is that it can be easily ensured that the ARM and RISCV testprograms only use the very base functionality of the instruction sets to ensure that the testprograms run on any target available on the testrack.

It should also be possible to achieve such functionality using Rust programs. There's some advantages to this:

  • Toolchain installation on the testserver becomes much easier as building etc can be done through cargo
  • No need to write assembly
  • Overall testprogram logic in the monitor binary should become much simpler

Some things that need to be figured out are the following:

  • Hive defines still need to be able to be dynamically linked to the testprogram for every build/test run
  • It needs to be ensured that the submitted testprograms build and conform to the restrictions of the most basic ARM/RISCV instruction sets
@TeyKey1 TeyKey1 self-assigned this Jan 28, 2024
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

No branches or pull requests

1 participant