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

[tests] add new implementation for test case runner #275

Merged
merged 76 commits into from
Aug 1, 2023
Merged

Conversation

Avimitin
Copy link
Contributor

This PR includes the below changes:

  • Add new mill build.sc for test cases
  • Add new script to generate test cases ELF file and configs.
  • Allow emulator to accept emulator config, test configs and runtime configs.

sequencer and others added 30 commits July 28, 2023 20:13
- add tests
- handling of responses from multi-cycle execution units
- add decode for float
This script will compile all the tests into elf binaries,
append the elf binary path to the corresponding test config file,
and pack them into a single tarball.

Signed-off-by: Avimitin <dev@avimit.in>
Signed-off-by: Avimitin <dev@avimit.in>
Signed-off-by: Avimitin <dev@avimit.in>
This commit add new object `verilatorEmulator` to generate cross product among emulator config, test config and runtime config.

Signed-off-by: Avimitin <dev@avimit.in>
Signed-off-by: Avimitin <dev@avimit.in>
Signed-off-by: Avimitin <dev@avimit.in>
Signed-off-by: Avimitin <dev@avimit.in>
Signed-off-by: Avimitin <dev@avimit.in>
Signed-off-by: Avimitin <dev@avimit.in>
Signed-off-by: Avimitin <dev@avimit.in>
Signed-off-by: Avimitin <dev@avimit.in>
Signed-off-by: Avimitin <dev@avimit.in>
Signed-off-by: Avimitin <dev@avimit.in>
Signed-off-by: Avimitin <dev@avimit.in>
Signed-off-by: Avimitin <dev@avimit.in>
Signed-off-by: Avimitin <dev@avimit.in>
Signed-off-by: Avimitin <dev@avimit.in>
Avimitin and others added 27 commits July 30, 2023 03:32
Signed-off-by: Avimitin <dev@avimit.in>
Signed-off-by: Avimitin <dev@avimit.in>
Signed-off-by: Avimitin <dev@avimit.in>
Signed-off-by: Avimitin <dev@avimit.in>
Signed-off-by: Avimitin <dev@avimit.in>
Signed-off-by: Avimitin <dev@avimit.in>
Artifacts in GitHub action are only retained for 5 days,
which is not ideal to use as a persistant storage.
So this commit remove all the previous implementation
and just let the script compile all the test in local machine.

With nix store, these tests will not compile everytime you enter the shell.

Signed-off-by: Avimitin <dev@avimit.in>
The old implemention is impure and slow.

Signed-off-by: Avimitin <dev@avimit.in>
This can not only exploit the nix store to cache testcase for us,
but also avoid fish user having incompatible shell hook.

Signed-off-by: Avimitin <dev@avimit.in>
Signed-off-by: Avimitin <dev@avimit.in>
Signed-off-by: Avimitin <dev@avimit.in>
Signed-off-by: Avimitin <dev@avimit.in>
Signed-off-by: Avimitin <dev@avimit.in>
Signed-off-by: Avimitin <dev@avimit.in>
Signed-off-by: Avimitin <dev@avimit.in>
Signed-off-by: Avimitin <dev@avimit.in>
Signed-off-by: Avimitin <dev@avimit.in>
…ssue

Signed-off-by: Avimitin <dev@avimit.in>
Signed-off-by: Avimitin <dev@avimit.in>
Signed-off-by: Avimitin <dev@avimit.in>
Signed-off-by: Avimitin <dev@avimit.in>
This can avoid updating sha256 everytime.

Signed-off-by: Avimitin <dev@avimit.in>
This can help increase portability across multiple shell.

Signed-off-by: Avimitin <dev@avimit.in>
Signed-off-by: Avimitin <dev@avimit.in>
Signed-off-by: Avimitin <dev@avimit.in>
@sequencer sequencer merged commit 8d32c49 into master Aug 1, 2023
17 of 18 checks passed
@sequencer sequencer deleted the testplan branch August 1, 2023 04:18
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.

7 participants