Skip to content

[otbn,smoke] Make smoke test independent of REPO_TOP#29243

Merged
rswarbrick merged 1 commit intolowRISC:masterfrom
etterli:otbn-smoke-test
Feb 5, 2026
Merged

[otbn,smoke] Make smoke test independent of REPO_TOP#29243
rswarbrick merged 1 commit intolowRISC:masterfrom
etterli:otbn-smoke-test

Conversation

@etterli
Copy link
Contributor

@etterli etterli commented Feb 4, 2026

This makes the OTBN smoke test script independent of the REPO_TOP environment variable. This is helpful when one has multiple clones of the OpenTitan repo.

This makes the OTBN smoke test script independent of the REPO_TOP environment variable.
This is helpful when one has multiple clones of the OpenTitan repo.

Signed-off-by: Pascal Etterli <pascal.etterli@lowrisc.org>
@etterli etterli requested a review from a team as a code owner February 4, 2026 10:00
@etterli etterli requested review from h-filali, marnovandermaas and rswarbrick and removed request for a team and marnovandermaas February 4, 2026 10:00
@etterli
Copy link
Contributor Author

etterli commented Feb 4, 2026

I don't see the value of depending on the REPO_TOP variable. If the script moves, the path can easily be adapted.

@etterli
Copy link
Contributor Author

etterli commented Feb 4, 2026

It also makes the script compatible with the case REPO_TOP is not set at all. This case is currently already supported by the otbn simulator framework.

Copy link
Contributor

@rswarbrick rswarbrick left a comment

Choose a reason for hiding this comment

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

The ugliness was from a designer who (arguably) bodged things together here. This looks much more sensible to me.

@rswarbrick rswarbrick added this pull request to the merge queue Feb 5, 2026
Merged via the queue into lowRISC:master with commit 6ddc1fd Feb 5, 2026
46 checks passed
@etterli etterli deleted the otbn-smoke-test branch February 10, 2026 08:51
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