From 14ccbbef9f4e34ed2311b96b771bbb452dccf9dc Mon Sep 17 00:00:00 2001 From: mlugg Date: Thu, 26 Sep 2024 04:26:18 +0100 Subject: [PATCH] test: add x86_64-windows-cbe target to incremental cases Throw another target in there just to spice things up a little! Running the incremental cases with the C backend is pretty slow due to the need to recompile the whole output from scratch on every update; for this reason, we probably don't want to keep many of these targeting CBE long-term. However, for now, while we have relatively few tests and things are still changing quite a lot, it's better to have this little bit of extra test coverage. --- test/incremental/add_decl | 1 + test/incremental/add_decl_namespaced | 1 + test/incremental/delete_comptime_decls | 1 + test/incremental/hello | 1 + test/incremental/modify_inline_fn | 1 + test/incremental/move_src | 1 + test/incremental/remove_enum_field | 1 + test/incremental/type_becomes_comptime_only | 1 + test/incremental/unreferenced_error | 1 + 9 files changed, 9 insertions(+) diff --git a/test/incremental/add_decl b/test/incremental/add_decl index 1f9788f481..6b3a0dad84 100644 --- a/test/incremental/add_decl +++ b/test/incremental/add_decl @@ -1,5 +1,6 @@ #target=x86_64-linux-selfhosted #target=x86_64-linux-cbe +#target=x86_64-windows-cbe #update=initial version #file=main.zig const std = @import("std"); diff --git a/test/incremental/add_decl_namespaced b/test/incremental/add_decl_namespaced index 7063e3fa74..48ed5cfd2e 100644 --- a/test/incremental/add_decl_namespaced +++ b/test/incremental/add_decl_namespaced @@ -1,5 +1,6 @@ #target=x86_64-linux-selfhosted #target=x86_64-linux-cbe +#target=x86_64-windows-cbe #update=initial version #file=main.zig const std = @import("std"); diff --git a/test/incremental/delete_comptime_decls b/test/incremental/delete_comptime_decls index 54411797cf..03ddc68128 100644 --- a/test/incremental/delete_comptime_decls +++ b/test/incremental/delete_comptime_decls @@ -1,5 +1,6 @@ #target=x86_64-linux-selfhosted #target=x86_64-linux-cbe +#target=x86_64-windows-cbe #update=initial version #file=main.zig pub fn main() void {} diff --git a/test/incremental/hello b/test/incremental/hello index 9419b3d186..3526b47f7c 100644 --- a/test/incremental/hello +++ b/test/incremental/hello @@ -1,5 +1,6 @@ #target=x86_64-linux-selfhosted #target=x86_64-linux-cbe +#target=x86_64-windows-cbe #update=initial version #file=main.zig const std = @import("std"); diff --git a/test/incremental/modify_inline_fn b/test/incremental/modify_inline_fn index 69ab1f429a..cd5361fb17 100644 --- a/test/incremental/modify_inline_fn +++ b/test/incremental/modify_inline_fn @@ -1,5 +1,6 @@ #target=x86_64-linux-selfhosted #target=x86_64-linux-cbe +#target=x86_64-windows-cbe #update=initial version #file=main.zig const std = @import("std"); diff --git a/test/incremental/move_src b/test/incremental/move_src index 8a3a24a269..908135485c 100644 --- a/test/incremental/move_src +++ b/test/incremental/move_src @@ -1,5 +1,6 @@ #target=x86_64-linux-selfhosted #target=x86_64-linux-cbe +#target=x86_64-windows-cbe #update=initial version #file=main.zig const std = @import("std"); diff --git a/test/incremental/remove_enum_field b/test/incremental/remove_enum_field index c163e5e168..3a882ae0f1 100644 --- a/test/incremental/remove_enum_field +++ b/test/incremental/remove_enum_field @@ -1,5 +1,6 @@ #target=x86_64-linux-selfhosted #target=x86_64-linux-cbe +#target=x86_64-windows-cbe #update=initial version #file=main.zig const MyEnum = enum(u8) { diff --git a/test/incremental/type_becomes_comptime_only b/test/incremental/type_becomes_comptime_only index 3878e0c61b..2da31ec5f2 100644 --- a/test/incremental/type_becomes_comptime_only +++ b/test/incremental/type_becomes_comptime_only @@ -1,5 +1,6 @@ #target=x86_64-linux-selfhosted #target=x86_64-linux-cbe +#target=x86_64-windows-cbe #update=initial version #file=main.zig const SomeType = u32; diff --git a/test/incremental/unreferenced_error b/test/incremental/unreferenced_error index 2031975986..3dfe0ab758 100644 --- a/test/incremental/unreferenced_error +++ b/test/incremental/unreferenced_error @@ -1,5 +1,6 @@ #target=x86_64-linux-selfhosted #target=x86_64-linux-cbe +#target=x86_64-windows-cbe #update=initial version #file=main.zig const std = @import("std");