This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This is for the stable version of Zig (0.14.1) | |
// See https://gist.github.com/karlseguin/e8e74cf5260435ec7cbf3e4c71605722 | |
// for a version that tracks Zig's development branch. | |
// in your build.zig, you can specify a custom test runner: | |
// const tests = b.addTest(.{ | |
// .target = target, | |
// .optimize = optimize, | |
// .test_runner = .{ .path = b.path("test_runner.zig"), .mode = .simple }, // add this line | |
// .root_source_file = b.path("src/main.zig"), |