mach: test only non-library code
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
d57a6d3b6d
commit
78590b8950
1 changed files with 2 additions and 15 deletions
17
build.zig
17
build.zig
|
|
@ -85,21 +85,8 @@ pub fn build(b: *std.Build) !void {
|
||||||
const app_run_step = b.step("run", "Run Mach Engine Application");
|
const app_run_step = b.step("run", "Run Mach Engine Application");
|
||||||
app_run_step.dependOn(&app_run_cmd.step);
|
app_run_step.dependOn(&app_run_cmd.step);
|
||||||
|
|
||||||
const all_tests_step = b.step("test", "Run library tests");
|
const tests_step = b.step("test", "Run tests");
|
||||||
const core_test_step = b.step("test-core", "Run Core library tests");
|
tests_step.dependOn(&testStep(b, optimize, target).step);
|
||||||
const freetype_test_step = b.step("test-freetype", "Run Freetype library tests");
|
|
||||||
const sysaudio_test_step = b.step("test-sysaudio", "Run sysaudio library tests");
|
|
||||||
const mach_test_step = b.step("test-mach", "Run Engine library tests");
|
|
||||||
|
|
||||||
core_test_step.dependOn(&(try core.testStep(b, optimize, target)).step);
|
|
||||||
freetype_test_step.dependOn(&freetype.testStep(b, optimize, target).step);
|
|
||||||
sysaudio_test_step.dependOn(&sysaudio.testStep(b, optimize, target).step);
|
|
||||||
mach_test_step.dependOn(&testStep(b, optimize, target).step);
|
|
||||||
|
|
||||||
all_tests_step.dependOn(core_test_step);
|
|
||||||
all_tests_step.dependOn(freetype_test_step);
|
|
||||||
all_tests_step.dependOn(sysaudio_test_step);
|
|
||||||
all_tests_step.dependOn(mach_test_step);
|
|
||||||
|
|
||||||
const shaderexp_app = try App.init(
|
const shaderexp_app = try App.init(
|
||||||
b,
|
b,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue