aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/build.zig
diff options
context:
space:
mode:
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig9
1 files changed, 9 insertions, 0 deletions
diff --git a/build.zig b/build.zig
index 6d8e34b..5518823 100644
--- a/build.zig
+++ b/build.zig
@@ -34,6 +34,10 @@ pub const Exercise = struct {
/// We need to keep track of this, so we compile with libc.
link_libc: bool = false,
+ /// This exercise doesn't have a main function.
+ /// We only call the test.
+ run_test: bool = false,
+
/// This exercise is not supported by the current Zig compiler.
skip: bool = false,
@@ -1211,6 +1215,11 @@ const exercises = [_]Exercise{
,
},
.{
+ .main_file = "102_testing.zig",
+ .output = "All 1 tests passed.",
+ .run_test = true,
+ },
+ .{
.main_file = "999_the_end.zig",
.output =
\\