# fix custom test runner package path resolution · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/1f7390f3999e80f775dbc0e62f1dcb071c3bed77)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 1f7390f3999e80f775dbc0e62f1dcb071c3bed77

Requested commit: 1f7390f3999e80f775dbc0e62f1dcb071c3bed77

Commit: 1f7390f3999e80f775dbc0e62f1dcb071c3bed77

Tree: 825d01e81a5f51759798ae62339c5639d1ca33ee

Author: dweiller

Committer: dweiller

## Message

```
fix custom test runner package path resolution

Fixes #13970.

This fix makes test runners resolve package paths relative to the
directory the test runner is in. This means it is not possible to import
a file from outside the file tree root at the directory containing the
test runner.

```

## Parents

- [9ccd8ed0ad4cc9e68c2a2e0c9b1e32d50259357e](https://git.cafe/gitcafe/zig/commit/9ccd8ed0ad4cc9e68c2a2e0c9b1e32d50259357e?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/1f7390f3999e80f775dbc0e62f1dcb071c3bed77?format=markdown)
