| ... | @@ -444,8 +444,6 @@ fn addFromDirInner( | ... | @@ -444,8 +444,6 @@ fn addFromDirInner( |
| 444 | const output = try manifest.trailingSplit(ctx.arena); | 444 | const output = try manifest.trailingSplit(ctx.arena); |
| 445 | case.addCompareOutput(src, output); | 445 | case.addCompareOutput(src, output); |
| 446 | }, | 446 | }, |
| 447 | .translate_c => @panic("c_frontend specified for compile case"), | | |
| 448 | .run_translated_c => @panic("c_frontend specified for compile case"), | | |
| 449 | .cli => @panic("TODO cli tests"), | 447 | .cli => @panic("TODO cli tests"), |
| 450 | } | 448 | } |
| 451 | } | 449 | } |
| ... | @@ -675,7 +673,7 @@ const TestManifestConfigDefaults = struct { | ... | @@ -675,7 +673,7 @@ const TestManifestConfigDefaults = struct { |
| 675 | if (std.mem.eql(u8, key, "backend")) { | 673 | if (std.mem.eql(u8, key, "backend")) { |
| 676 | return "auto"; | 674 | return "auto"; |
| 677 | } else if (std.mem.eql(u8, key, "target")) { | 675 | } else if (std.mem.eql(u8, key, "target")) { |
| 678 | if (@"type" == .@"error" or @"type" == .translate_c or @"type" == .run_translated_c) { | 676 | if (@"type" == .@"error") { |
| 679 | return "native"; | 677 | return "native"; |
| 680 | } | 678 | } |
| 681 | return comptime blk: { | 679 | return comptime blk: { |
| ... | @@ -702,8 +700,6 @@ const TestManifestConfigDefaults = struct { | ... | @@ -702,8 +700,6 @@ const TestManifestConfigDefaults = struct { |
| 702 | .@"error" => "Obj", | 700 | .@"error" => "Obj", |
| 703 | .run => "Exe", | 701 | .run => "Exe", |
| 704 | .compile => "Obj", | 702 | .compile => "Obj", |
| 705 | .translate_c => "Obj", | | |
| 706 | .run_translated_c => "Obj", | | |
| 707 | .cli => @panic("TODO test harness for CLI tests"), | 703 | .cli => @panic("TODO test harness for CLI tests"), |
| 708 | }; | 704 | }; |
| 709 | } else if (std.mem.eql(u8, key, "emit_asm")) { | 705 | } else if (std.mem.eql(u8, key, "emit_asm")) { |
| ... | @@ -770,8 +766,6 @@ const TestManifest = struct { | ... | @@ -770,8 +766,6 @@ const TestManifest = struct { |
| 770 | run, | 766 | run, |
| 771 | cli, | 767 | cli, |
| 772 | compile, | 768 | compile, |
| 773 | translate_c, | | |
| 774 | run_translated_c, | | |
| 775 | }; | 769 | }; |
| 776 | | 770 | |
| 777 | const TrailingIterator = struct { | 771 | const TrailingIterator = struct { |
| ... | @@ -840,10 +834,6 @@ const TestManifest = struct { | ... | @@ -840,10 +834,6 @@ const TestManifest = struct { |
| 840 | break :blk .cli; | 834 | break :blk .cli; |
| 841 | } else if (std.mem.eql(u8, raw, "compile")) { | 835 | } else if (std.mem.eql(u8, raw, "compile")) { |
| 842 | break :blk .compile; | 836 | break :blk .compile; |
| 843 | } else if (std.mem.eql(u8, raw, "translate-c")) { | | |
| 844 | break :blk .translate_c; | | |
| 845 | } else if (std.mem.eql(u8, raw, "run-translated-c")) { | | |
| 846 | break :blk .run_translated_c; | | |
| 847 | } else { | 837 | } else { |
| 848 | std.log.warn("unknown test case type requested: {s}", .{raw}); | 838 | std.log.warn("unknown test case type requested: {s}", .{raw}); |
| 849 | return error.UnknownTestCaseType; | 839 | return error.UnknownTestCaseType; |