From 82eb4956173b8c155d19bed9831046370ed4f915 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Sat, 4 Jun 2022 13:05:20 +0300 Subject: [PATCH] ci: on windows-msvc, skip const_fixed_array_containing_references_to_itself_test.v --- cmd/tools/vtest-self.v | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cmd/tools/vtest-self.v b/cmd/tools/vtest-self.v index 4950854d97..ca9a146343 100644 --- a/cmd/tools/vtest-self.v +++ b/cmd/tools/vtest-self.v @@ -110,6 +110,10 @@ const ( skip_on_non_linux = [ 'do_not_remove', ] + skip_on_windows_msvc = [ + 'do_not_remove', + 'vlib/v/tests/const_fixed_array_containing_references_to_itself_test.v', // error C2099: initializer is not a constant + ] skip_on_windows = [ 'vlib/context/cancel_test.v', 'vlib/context/deadline_test.v', @@ -265,6 +269,9 @@ fn main() { } $if windows { tsession.skip_files << skip_on_windows + $if msvc { + tsession.skip_files << skip_on_windows_msvc + } } $if !windows { tsession.skip_files << skip_on_non_windows