summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/test.zig5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/test.zig b/src/test.zig
index 04d7f00..cdd9805 100644
--- a/src/test.zig
+++ b/src/test.zig
@@ -232,10 +232,7 @@ fn check(ssa: []const u8) anyerror!void {
     const s = try joinPath(allocator, &.{ dir, "a.s" });
     defer allocator.free(s);
     const ir_loc = b: {
-        const ir = try collectOutput(if (emulator) |executor|
-            &.{ executor, bin, ssa }
-        else
-            &.{ bin, ssa });
+        const ir = try collectOutput(&.{ bin, "-t", qbe_target, ssa });
         errdefer allocator.free(ir);
         try tmp.parent_dir.writeFile(s, ir);
         break :b loc(ir);