| ... | @@ -3336,7 +3336,7 @@ pub fn addCases( | ... | @@ -3336,7 +3336,7 @@ pub fn addCases( |
| 3336 | | 3336 | |
| 3337 | var cases = @import("src/Cases.zig").init(gpa, arena, io); | 3337 | var cases = @import("src/Cases.zig").init(gpa, arena, io); |
| 3338 | | 3338 | |
| 3339 | b.dependOnDirectory(b.path("test/cases")); | 3339 | b.dependOnDirectoryContents(b.path("test/cases")); |
| 3340 | | 3340 | |
| 3341 | var dir = try b.root.openDir(io, "test/cases", .{ .iterate = true }); | 3341 | var dir = try b.root.openDir(io, "test/cases", .{ .iterate = true }); |
| 3342 | defer dir.close(io); | 3342 | defer dir.close(io); |
| ... | @@ -3398,7 +3398,7 @@ pub fn addIncrementalTests( | ... | @@ -3398,7 +3398,7 @@ pub fn addIncrementalTests( |
| 3398 | }), | 3398 | }), |
| 3399 | }); | 3399 | }); |
| 3400 | | 3400 | |
| 3401 | b.dependOnDirectory(b.path("test/incremental")); | 3401 | b.dependOnDirectoryContents(b.path("test/incremental")); |
| 3402 | | 3402 | |
| 3403 | var dir = try b.root.openDir(io, "test/incremental", .{ .iterate = true }); | 3403 | var dir = try b.root.openDir(io, "test/incremental", .{ .iterate = true }); |
| 3404 | defer dir.close(io); | 3404 | defer dir.close(io); |
| ... | @@ -3414,7 +3414,7 @@ pub fn addIncrementalTests( | ... | @@ -3414,7 +3414,7 @@ pub fn addIncrementalTests( |
| 3414 | switch (entry.kind) { | 3414 | switch (entry.kind) { |
| 3415 | .file => {}, | 3415 | .file => {}, |
| 3416 | .directory => { | 3416 | .directory => { |
| 3417 | b.dependOnDirectory(b.path(b.pathJoin(&.{ "test", "incremental", entry.path }))); | 3417 | b.dependOnDirectoryContents(b.path(b.pathJoin(&.{ "test", "incremental", entry.path }))); |
| 3418 | }, | 3418 | }, |
| 3419 | else => continue, | 3419 | else => continue, |
| 3420 | } | 3420 | } |