Skip to content

fix: Resolve relative sourceme paths against gvtest.yaml#20

Merged
haugoug merged 1 commit intogvsoc:mainfrom
germainh512:relative-sourceme
Mar 11, 2026
Merged

fix: Resolve relative sourceme paths against gvtest.yaml#20
haugoug merged 1 commit intogvsoc:mainfrom
germainh512:relative-sourceme

Conversation

@germainh512
Copy link

When a sourceme path in gvtest.yaml is relative, it is now resolved against the directory containing the gvtest.yaml that defines the target.

targets:
  rv32:
    sourceme: setup/env.sh    # → /project/setup/env.sh
  rv64:
    sourceme: /opt/rv64/env.sh  # absolute, unchanged

136 tests passing.

When a sourceme path in gvtest.yaml is relative, it is now
resolved against the directory containing the gvtest.yaml
that defines the target.

Example:
  targets:
    rv32:
      sourceme: setup/env.sh  # → /project/setup/env.sh

136 tests passing.
@haugoug haugoug merged commit 4d554e4 into gvsoc:main Mar 11, 2026
3 checks passed
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