# ZIG_EXE envirnoment variable instead of testing build options · gitcafe/zig

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

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

Visibility: public

Requested revision: 85b10eb07c27d021804473ee54a0b5942e4784d5

Requested commit: 85b10eb07c27d021804473ee54a0b5942e4784d5

Commit: 85b10eb07c27d021804473ee54a0b5942e4784d5

Tree: 1c3450ba81bed2e4125bf21e21ce2e03631ca53e

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
ZIG_EXE envirnoment variable instead of testing build options

No longer introduce build options for tests. Instead, ZIG_EXE
environment variable is added to any invocation of `zig run` or `zig
test`.

The end result of this branch is the same: there is no longer a
mandatory positional command line argument when invoking zig test
binaries directly.

```

## Parents

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

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