# tests: do not require absolute paths from the build system · gitcafe/zig

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

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

Visibility: public

Requested revision: 5c8b92db7f6e99d075af1cf87d48a5af0c748603

Requested commit: 5c8b92db7f6e99d075af1cf87d48a5af0c748603

Commit: 5c8b92db7f6e99d075af1cf87d48a5af0c748603

Tree: 6ce024041d0806fac93d26ad8b58fcde85c6877f

Author: mlugg

Committer: mlugg

## Message

```
tests: do not require absolute paths from the build system

File arguments added to `std.Build.Step.Run` with e.g. `addFileArg` are
not necessarily passed as absolute paths. It used to be the case that
they were as a consequence of an unnecessary path conversion done by the
frontend, but this no longer happens, at least not always, so these
tests were sometimes failing when run locally. Therefore, the standalone
tests must handle cwd-relative CLI paths correctly.

```

## Parents

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

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