authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2018-09-24 12:01:51-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2018-09-24 12:01:51-04:00
log8a7737eef4f9f5fd3e6d318b6985e1bf6a364438
tree3632b1afce3e4d7fd54eb744a1c7715dc294b2f3
parent6d048aa3bfabf43da40966b01d8a4717bd8fe9b7
signaturelock-open Commit is signed but in an unrecognized format.

fix godbolt cli test on non-linux-x86_64 hosts


1 files changed, 1 insertions(+), 1 deletions(-)

test/cli.zig+1-1
...@@ -96,7 +96,7 @@ fn testZigInitExe(zig_exe: []const u8, dir_path: []const u8) !void {...@@ -96,7 +96,7 @@ fn testZigInitExe(zig_exe: []const u8, dir_path: []const u8) !void {
96 assertOrPanic(std.mem.eql(u8, run_result.stderr, "All your base are belong to us.\n"));96 assertOrPanic(std.mem.eql(u8, run_result.stderr, "All your base are belong to us.\n"));
97}97}
9898
99fn testGodboltApi(zig_exe: []const u8, dir_path: []const u8) !void {99fn testGodboltApi(zig_exe: []const u8, dir_path: []const u8) error!void {
100 if (builtin.os != builtin.Os.linux or builtin.arch != builtin.Arch.x86_64) return;100 if (builtin.os != builtin.Os.linux or builtin.arch != builtin.Arch.x86_64) return;
101101
102 const example_zig_path = try os.path.join(a, dir_path, "example.zig");102 const example_zig_path = try os.path.join(a, dir_path, "example.zig");