| ... | ... | @@ -16,18 +16,17 @@ pub fn build(b: *std.Build) void { |
| 16 | 16 | .SOME_ENUM = @as(enum { foo, bar }, .foo), |
| 17 | 17 | .SOME_ENUM_LITERAL = .@"test", |
| 18 | 18 | .SOME_STRING = "test", |
| 19 | | |
| 20 | 19 | .PREFIX_SPACE = null, |
| 21 | 20 | .PREFIX_TAB = null, |
| 22 | 21 | .POSTFIX_SPACE = null, |
| 23 | 22 | .POSTFIX_TAB = null, |
| 24 | | |
| 25 | 23 | .SOME_UNDERSCORED = true, |
| 26 | 24 | }, |
| 27 | 25 | ); |
| 28 | 26 | const check_config_header = b.addCheckFile(config_header.getOutputFile(), .{ |
| 29 | 27 | .expected_exact = @embedFile("autoconf_undef/config.h"), |
| 30 | 28 | }); |
| 29 | test_step.dependOn(&check_config_header.step); |
| 31 | 30 | |
| 32 | 31 | const config_header_autoconf_at = b.addConfigHeader( |
| 33 | 32 | .{ .style = .{ .autoconf_at = b.path("autoconf_at/autoconf_at.h.in") } }, |
| ... | ... | @@ -39,7 +38,6 @@ pub fn build(b: *std.Build) void { |
| 39 | 38 | .integer = 42, |
| 40 | 39 | .string = "text", |
| 41 | 40 | .string_at = "@string@", |
| 42 | | |
| 43 | 41 | .underscored_var = "value", |
| 44 | 42 | .at_sign = "@", |
| 45 | 43 | }, |
| ... | ... | @@ -47,8 +45,6 @@ pub fn build(b: *std.Build) void { |
| 47 | 45 | const check_config_header_autoconf_at = b.addCheckFile(config_header_autoconf_at.getOutputFile(), .{ |
| 48 | 46 | .expected_exact = @embedFile("autoconf_at/autoconf_at.h"), |
| 49 | 47 | }); |
| 50 | | |
| 51 | | test_step.dependOn(&check_config_header.step); |
| 52 | 48 | test_step.dependOn(&check_config_header_autoconf_at.step); |
| 53 | 49 | |
| 54 | 50 | const config_header_blank = b.addConfigHeader( |
| ... | ... | @@ -109,7 +105,6 @@ fn addCmakeChecks(b: *std.Build, test_step: *std.Build.Step) void { |
| 109 | 105 | .ONEVAL = 1, |
| 110 | 106 | .TENVAL = 10, |
| 111 | 107 | .STRINGVAL = "test", |
| 112 | | |
| 113 | 108 | .BOOLNOVAL = {}, |
| 114 | 109 | .BOOLTRUEVAL = true, |
| 115 | 110 | .BOOLFALSEVAL = false, |