wasm linker: incremental test coverage
18 files changed, 18 insertions(+), 0 deletions(-)
test
incremental
test/incremental/add_decl+1
| ... | ... | @@ -1,6 +1,7 @@ |
| 1 | 1 | #target=x86_64-linux-selfhosted |
| 2 | 2 | #target=x86_64-linux-cbe |
| 3 | 3 | #target=x86_64-windows-cbe |
| 4 | #target=wasm32-wasi-selfhosted |
| 4 | 5 | #update=initial version |
| 5 | 6 | #file=main.zig |
| 6 | 7 | const std = @import("std"); |
test/incremental/add_decl_namespaced+1
| ... | ... | @@ -1,6 +1,7 @@ |
| 1 | 1 | #target=x86_64-linux-selfhosted |
| 2 | 2 | #target=x86_64-linux-cbe |
| 3 | 3 | #target=x86_64-windows-cbe |
| 4 | #target=wasm32-wasi-selfhosted |
| 4 | 5 | #update=initial version |
| 5 | 6 | #file=main.zig |
| 6 | 7 | const std = @import("std"); |
test/incremental/change_generic_line_number+1
| ... | ... | @@ -1,4 +1,5 @@ |
| 1 | 1 | #target=x86_64-linux-selfhosted |
| 2 | #target=wasm32-wasi-selfhosted |
| 2 | 3 | #update=initial version |
| 3 | 4 | #file=main.zig |
| 4 | 5 | const std = @import("std"); |
test/incremental/change_line_number+1
| ... | ... | @@ -1,4 +1,5 @@ |
| 1 | 1 | #target=x86_64-linux-selfhosted |
| 2 | #target=wasm32-wasi-selfhosted |
| 2 | 3 | #update=initial version |
| 3 | 4 | #file=main.zig |
| 4 | 5 | const std = @import("std"); |
test/incremental/change_shift_op+1
| ... | ... | @@ -1,6 +1,7 @@ |
| 1 | 1 | #target=x86_64-linux-selfhosted |
| 2 | 2 | #target=x86_64-linux-cbe |
| 3 | 3 | #target=x86_64-windows-cbe |
| 4 | #target=wasm32-wasi-selfhosted |
| 4 | 5 | #update=initial version |
| 5 | 6 | #file=main.zig |
| 6 | 7 | pub fn main() !void { |
test/incremental/change_struct_same_fields+1
| ... | ... | @@ -1,6 +1,7 @@ |
| 1 | 1 | #target=x86_64-linux-selfhosted |
| 2 | 2 | #target=x86_64-linux-cbe |
| 3 | 3 | #target=x86_64-windows-cbe |
| 4 | #target=wasm32-wasi-selfhosted |
| 4 | 5 | #update=initial version |
| 5 | 6 | #file=main.zig |
| 6 | 7 | const S = extern struct { x: u8, y: u8 }; |
test/incremental/compile_error_then_log+1
| ... | ... | @@ -1,6 +1,7 @@ |
| 1 | 1 | #target=x86_64-linux-selfhosted |
| 2 | 2 | #target=x86_64-linux-cbe |
| 3 | 3 | #target=x86_64-windows-cbe |
| 4 | #target=wasm32-wasi-selfhosted |
| 4 | 5 | #update=initial version with compile error |
| 5 | 6 | #file=main.zig |
| 6 | 7 | comptime { |
test/incremental/delete_comptime_decls+1
| ... | ... | @@ -1,6 +1,7 @@ |
| 1 | 1 | #target=x86_64-linux-selfhosted |
| 2 | 2 | #target=x86_64-linux-cbe |
| 3 | 3 | #target=x86_64-windows-cbe |
| 4 | #target=wasm32-wasi-selfhosted |
| 4 | 5 | #update=initial version |
| 5 | 6 | #file=main.zig |
| 6 | 7 | pub fn main() void {} |
test/incremental/fix_astgen_failure+1
| ... | ... | @@ -1,6 +1,7 @@ |
| 1 | 1 | #target=x86_64-linux-selfhosted |
| 2 | 2 | #target=x86_64-linux-cbe |
| 3 | 3 | #target=x86_64-windows-cbe |
| 4 | #target=wasm32-wasi-selfhosted |
| 4 | 5 | #update=initial version with error |
| 5 | 6 | #file=main.zig |
| 6 | 7 | pub fn main() !void { |
test/incremental/hello+1
| ... | ... | @@ -1,6 +1,7 @@ |
| 1 | 1 | #target=x86_64-linux-selfhosted |
| 2 | 2 | #target=x86_64-linux-cbe |
| 3 | 3 | #target=x86_64-windows-cbe |
| 4 | #target=wasm32-wasi-selfhosted |
| 4 | 5 | #update=initial version |
| 5 | 6 | #file=main.zig |
| 6 | 7 | const std = @import("std"); |
test/incremental/modify_inline_fn+1
| ... | ... | @@ -1,6 +1,7 @@ |
| 1 | 1 | #target=x86_64-linux-selfhosted |
| 2 | 2 | #target=x86_64-linux-cbe |
| 3 | 3 | #target=x86_64-windows-cbe |
| 4 | #target=wasm32-wasi-selfhosted |
| 4 | 5 | #update=initial version |
| 5 | 6 | #file=main.zig |
| 6 | 7 | const std = @import("std"); |
test/incremental/move_src+1
| ... | ... | @@ -1,6 +1,7 @@ |
| 1 | 1 | #target=x86_64-linux-selfhosted |
| 2 | 2 | #target=x86_64-linux-cbe |
| 3 | 3 | #target=x86_64-windows-cbe |
| 4 | #target=wasm32-wasi-selfhosted |
| 4 | 5 | #update=initial version |
| 5 | 6 | #file=main.zig |
| 6 | 7 | const std = @import("std"); |
test/incremental/recursive_function_becomes_non_recursive+1
| ... | ... | @@ -1,6 +1,7 @@ |
| 1 | 1 | #target=x86_64-linux-selfhosted |
| 2 | 2 | #target=x86_64-linux-cbe |
| 3 | 3 | #target=x86_64-windows-cbe |
| 4 | #target=wasm32-wasi-selfhosted |
| 4 | 5 | #update=initial version |
| 5 | 6 | #file=main.zig |
| 6 | 7 | pub fn main() !void { |
test/incremental/remove_enum_field+1
| ... | ... | @@ -1,6 +1,7 @@ |
| 1 | 1 | #target=x86_64-linux-selfhosted |
| 2 | 2 | #target=x86_64-linux-cbe |
| 3 | 3 | #target=x86_64-windows-cbe |
| 4 | #target=wasm32-wasi-selfhosted |
| 4 | 5 | #update=initial version |
| 5 | 6 | #file=main.zig |
| 6 | 7 | const MyEnum = enum(u8) { |
test/incremental/remove_invalid_union_backing_enum+1
| ... | ... | @@ -1,6 +1,7 @@ |
| 1 | 1 | #target=x86_64-linux-selfhosted |
| 2 | 2 | #target=x86_64-linux-cbe |
| 3 | 3 | #target=x86_64-windows-cbe |
| 4 | #target=wasm32-wasi-selfhosted |
| 4 | 5 | #update=initial version |
| 5 | 6 | #file=main.zig |
| 6 | 7 | const E = enum { a, b, c }; |
test/incremental/temporary_parse_error+1
| ... | ... | @@ -1,6 +1,7 @@ |
| 1 | 1 | #target=x86_64-linux-selfhosted |
| 2 | 2 | #target=x86_64-linux-cbe |
| 3 | 3 | #target=x86_64-windows-cbe |
| 4 | #target=wasm32-wasi-selfhosted |
| 4 | 5 | #update=initial version |
| 5 | 6 | #file=main.zig |
| 6 | 7 | const std = @import("std"); |
test/incremental/type_becomes_comptime_only+1
| ... | ... | @@ -1,6 +1,7 @@ |
| 1 | 1 | #target=x86_64-linux-selfhosted |
| 2 | 2 | #target=x86_64-linux-cbe |
| 3 | 3 | #target=x86_64-windows-cbe |
| 4 | #target=wasm32-wasi-selfhosted |
| 4 | 5 | #update=initial version |
| 5 | 6 | #file=main.zig |
| 6 | 7 | const SomeType = u32; |
test/incremental/unreferenced_error+1
| ... | ... | @@ -1,6 +1,7 @@ |
| 1 | 1 | #target=x86_64-linux-selfhosted |
| 2 | 2 | #target=x86_64-linux-cbe |
| 3 | 3 | #target=x86_64-windows-cbe |
| 4 | #target=wasm32-wasi-selfhosted |
| 4 | 5 | #update=initial version |
| 5 | 6 | #file=main.zig |
| 6 | 7 | const std = @import("std"); |