Skip to content

Commit

Permalink
another testsuite fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rdunnington committed May 14, 2024
1 parent 41d2bb7 commit 8798fe8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/wasm/main.zig
Original file line number Diff line number Diff line change
Expand Up @@ -1511,12 +1511,12 @@ pub fn main() !void {
}

// determine if there is a memory64 version of the test - if so, run that one
const suite_wast_base_path_no_extension: []const u8 = try std.fs.path.join(allocator, &[_][]const u8{ "test", "testsuite", suite });
const suite_wast_base_path_no_extension: []const u8 = try std.fs.path.join(allocator, &[_][]const u8{ "test", "wasm", "wasm-testsuite", suite });
defer allocator.free(suite_wast_base_path_no_extension);
const suite_wast_base_path: []u8 = try std.mem.join(allocator, "", &[_][]const u8{ suite_wast_base_path_no_extension, ".wast" });
defer allocator.free(suite_wast_base_path);

const suite_wast_mem64_path_no_extension: []const u8 = try std.fs.path.join(allocator, &[_][]const u8{ "test", "testsuite", "proposals", "memory64", suite });
const suite_wast_mem64_path_no_extension: []const u8 = try std.fs.path.join(allocator, &[_][]const u8{ "test", "wasm", "wasm-testsuite", "proposals", "memory64", suite });
defer allocator.free(suite_wast_mem64_path_no_extension);
const suite_wast_mem64_path: []u8 = try std.mem.join(allocator, "", &[_][]const u8{ suite_wast_mem64_path_no_extension, ".wast" });
defer allocator.free(suite_wast_mem64_path);
Expand Down

0 comments on commit 8798fe8

Please sign in to comment.