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

Test: Use make instead of tests in functest action #571

Closed
wants to merge 3 commits into from

Conversation

hanno-becker
Copy link
Contributor

@hanno-becker hanno-becker commented Dec 22, 2024

This PR replaces calls to tests in the functest CI action by direct invocations of make. There is a bit of explicit repetition, which we may want to remove: IIRC, we always want to run all tests, so the splitting into func/acvp/nistkat/kat is redundant, and we could as well just call make checkall.

The PR does not yet remove the increasingly obsolete test-functionality of tests. Note that the benchmarking logic is more involved and may merit keeping tests (perhaps renamed to bench).

@hanno-becker hanno-becker force-pushed the test_simpl branch 3 times, most recently from de80448 to 9528852 Compare December 23, 2024 03:40
@hanno-becker hanno-becker changed the title Test: Use make check_func instead of tests func in functest action Test: Use make instead of tests in functest action Dec 23, 2024
@hanno-becker hanno-becker marked this pull request as ready for review December 23, 2024 03:45
@hanno-becker hanno-becker requested a review from a team as a code owner December 23, 2024 03:45
@hanno-becker hanno-becker force-pushed the test_simpl branch 3 times, most recently from 0befca0 to 59cb691 Compare December 23, 2024 04:07
@hanno-becker
Copy link
Contributor Author

@mkannwischer This fails in case noopt is disabled because then you do a make clean before check namespace. I guess one should do a check namespace after opt and noopt separately, and suitably conditioned. Can you do that?

Previously, `tests` would automatically detect which QEMU binary
to use for emulation. With this commit, this is instead made explicit
in the logic of the workflow. This is a step towards simplifying
the `tests` script and eventually replacing it by calls to `make`.

Signed-off-by: Hanno Becker <[email protected]>
Signed-off-by: Hanno Becker <[email protected]>
@hanno-becker
Copy link
Contributor Author

On second thought, I think the convenience of tests is worth having -- it should be majorly simplified to turn into a rather shallow wrapper around invocations of make, but we likely want to keep it.

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.

Rewrite functest workflow to use make only
1 participant