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 1f9788f48134356896536b626cad6d19a993c33e..6b3a0dad8497fe073b03ebacf4e23c38dba006b3 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 7063e3fa744ea67e89a9620b4453a3fc95da8b9d..48ed5cfd2ed99c1371bda923e574c6012af6207d 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 54411797cfb8f71f91dfc3d456a0f00b15ac7694..03ddc6812857b4c7612c28cf52f6cf990a5944d1 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 9419b3d1866dab9baf9c1f53048b8df0b48dc727..3526b47f7cb48081034f578b3b9e6537308d204b 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 69ab1f429a0577677ca7614ad5404eabb072a04c..cd5361fb177623537672e6167d0783755a27ec71 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 8a3a24a269c439437d51ae8f4b6d81bff84d7fd2..908135485cac30aa2c881e949b8b70780b7279f5 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 c163e5e168c2ebcc079102c4ccb1f3758cfc864f..3a882ae0f1b8bfc7ce2504e490cb725e38e45aa0 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 3878e0c61b9ab2a9b52ff26567437d5db2295b32..2da31ec5f2cec2aff9f1452fd89885ebdf8e0024 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 2031975986dc91835b4f9803c1dfd0af460397bb..3dfe0ab758e821e76ae7a602e5c8db8c35e2bb1d 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"); -- 2.54.0