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

[CI] Test TVLA trace-filtering in CI #161

Merged
merged 2 commits into from
Oct 10, 2023

Conversation

vrozic
Copy link
Contributor

@vrozic vrozic commented Sep 22, 2023

This PR adds a CI test to check if trace filtering works in tvla.py to partially address issue #96.

The first commit changes default value of --general-test argument. This change was necessary to enable running non-general tvla tests without checking-in yaml configuration files.

The second commit checks-in a project with artificial traces and adds a CI test. The project contains 1000 traces, out of which 900 were polluted to fail the filtering. The test checks that tvla.py used at most 100 traces.

@vrozic vrozic requested review from wettermo and removed request for alphan September 22, 2023 15:28
At the moment the default value of the `--general-test` parameter
is `True`. This argument cannot be changed to `False` via command
line, but only through the yaml configuration file.
Since we don't use configuaration files for TVLA in the CI, it is
currently impossible to add tests for aes-specific TVLA.
To enable adding these tests, this commit changes the default value
to `False` and adds `--general-test` to CI commands where needed.

Signed-off-by: Vladimir Rozic <[email protected]>
This commit adds a CI test that checks if the TVLA trace filtaring
(currently only enabled for aes-byte-specific analysis) works
properly.
Checked in project traces are artificially polluted in such way
that 90% of the traces are unusable. The test checks that at most
100 (out of 1000) traces are used by the TVLA.

Signed-off-by: Vladimir Rozic <[email protected]>
@vrozic vrozic mentioned this pull request Oct 6, 2023
@vrozic vrozic requested a review from nasahlpa October 9, 2023 15:43
Copy link
Member

@nasahlpa nasahlpa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, LGTM!

@nasahlpa nasahlpa merged commit ec68581 into lowRISC:master Oct 10, 2023
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.

2 participants