# test harness improvements · gitcafe/zig

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

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

Visibility: public

Requested revision: 243afdcdf57d74a184784551aebe58062e5afc03

Requested commit: 243afdcdf57d74a184784551aebe58062e5afc03

Commit: 243afdcdf57d74a184784551aebe58062e5afc03

Tree: 7e637a4c50b8abf6beb1354c346fc08055c5f0e7

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
test harness improvements

 * `-Dskip-compile-errors` is removed; `-Dskip-stage1` is added.
 * Use `std.testing.allocator` instead of a new instance of GPA.
   - Fix the memory leaks this revealed.
 * Show the file name when it is not parsed correctly such as when the
   manifest is missing.
   - Better error messages when test files are not parsed correctly.
 * Ignore unknown files such as swap files.
 * Move logic from declarative file to the test harness implementation.
 * Move stage1 tests to stage2 tests where appropriate.

```

## Parents

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

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