Unit Tests on Windows (Windows State Part II)

The standard library and the compiler is now fully buildable on Windows against just the Windows SDK. In order to ensure that we flush out all the issues and ensure that we don’t regress in the future, the next large goal is to get the full test suite working on Windows as well.

I have part of the tests working already. The last run with a number of my changes has us at around 80%, though I would like to decrease the number of unsupported tests (but that requires investigation into why they are unsupported)! I am focusing on the IRGen tests first as that underlies everything. I think that this is something where other people can help with the patches.

@tkremenek, if you could help get some help from people who are familiar with the relevant areas, it would be greatly appreciated. (I’ll do a follow up post with the failures due to text length limits).

There are instructions on how to build on Windows in the repository and they should be up-to-date. If there are issues that people hit, we should work those out and document that. There are a few patches that are still needed to build against stable.

llvm:
SVN r327082 - lit change (upstream’ed)
SVN r313971 - llvm-dwarfdump build fix (upstream’ed)
clang:
SVN r324439 - Swift CC support (upstream’ed)
SVN r325724 - blocks fix (upstream’ed)
PR#127 - build fixes (upstream-next)
PR#161 - build fixes (upstream-next)
swift:
PR#15018 - lit configuration
PR#15057 - test adjustments

Last Run:
Expected Passes : 1880
Expected Failures : 15
Unsupported Tests : 1187
Unexpected Failures: 803

CC: @tkremenek @Torust @tinysun212

3 Likes

IRGen/c_layout.sil
IRGen/autolink-coff-force-link.swift
IRGen/dynamic_cast_functions.swift
IRGen/condfail.sil
IRGen/builtin_math.swift
IRGen/enum_derived.swift
IRGen/c_globals.swift
IRGen/conditional_conformances.swift
IRGen/abitypes.swift
IRGen/asan-attributes.swift
IRGen/generic_casts.swift
IRGen/function_param_convention.sil
IRGen/fixlifetime.sil
IRGen/globals.swift
IRGen/literals.sil
IRGen/method_linkage.swift
IRGen/meta_meta_type.swift
IRGen/multithread_module.swift
IRGen/nested_types.sil
IRGen/object_type.swift
IRGen/nondominant.sil
IRGen/objc_simd.sil
IRGen/protocol_conformance_records.swift
IRGen/pic.swift
IRGen/report_dead_method_call.swift
IRGen/reflection_metadata_imported.swift
IRGen/readonly.sil
IRGen/reflection_metadata.swift
IRGen/same_type_constraints.swift
IRGen/sanitize_coverage.swift
IRGen/sil_witness_tables_external_witnesstable.swift
IRGen/sil_witness_tables.swift
IRGen/zombies.swift
IRGen/unowned.sil
IRGen/weak_import_native.swift
IRGen/weak_import_native.sil
IRGen/zero_size_types.swift
IRGen/vtable_symbol_linkage.swift
IRGen/access_control.sil
IRGen/associated_type_witness.swift
IRGen/bitcast.sil
IRGen/c_functions.swift
IRGen/clang_inline.swift
IRGen/clang_inline_reverse.swift
IRGen/dynamic_self.sil
IRGen/existentials_opaque_boxed.sil
IRGen/class_resilience.swift
IRGen/fixed_size_buffer_peepholes.sil
IRGen/generic_vtable.swift
IRGen/open_boxed_existential.sil
IRGen/sil_linkage.sil
IRGen/static_initializer.sil
IRGen/weak.sil
stdlib/StringFlatMap.swift
stdlib/StringCompatibility.swift
stdlib/SIMDParameterPassing.swift.gyb
stdlib/RangeReplaceableFilterCompatibility.swift
stdlib/ParameterPassing.swift.gyb
stdlib/MapFilterLayerFoldingCompatibilty.swift
stdlib/LazySlice.swift
stdlib/LazyCollectionPlus.swift
Syntax/tokens_nul.swift
Syntax/tokens_unknown_and_invalid.swift
Syntax/round_trip_nul.swift
Sema/struct_equatable_hashable.swift
SILOptimizer/access_marker_verify.swift
SILGen/availability_overloads.swift
SIL/Serialization/opaque_values_serialize.sil
Prototypes/BigInt.swift
Prototypes/property_behaviors/lazy.swift
Parse/ConditionalCompilation/can_import_idempotent.swift
Parse/ConditionalCompilation/switch_case_executable.swift
PlaygroundTransform/generics.swift
PCMacro/mutation.swift
PCMacro/nested_function.swift
PCMacro/operators.swift
PCMacro/pc_and_log.swift
PCMacro/plus_equals.swift
PCMacro/switch.swift
PCMacro/if.swift
PCMacro/defer.swift
PCMacro/didset.swift
PCMacro/else.swift
PCMacro/for.swift
PCMacro/func_decls.swift
Misc/stats_dir.swift
Misc/stats_dir_failure_count.swift
Misc/stats_dir_tracer.swift
Migrator/always_remove_old_remap_file.swift
Interpreter/enforce_exclusive_access.swift
Interpreter/protocol_initializers.swift
Interpreter/protocol_initializers_class.swift
Interpreter/subclass_existentials.swift
Interpreter/conditional_conformances_runtime.swift
Index/Store/unit-swiftmodule-dependency.swift
Index/Store/unit-with-bridging-header.swift
Index/Store/output-failure.swift
Index/Store/record-hashing.swift
Index/Store/record-with-compile-error.swift
Index/Store/unit-from-compile.swift
Index/Store/unit-multiple-sourcefiles.swift
Index/Store/unit-one-sourcefile.swift
Index/Store/unit-pcm-dependency.swift
Frontend/unknown-arguments.swift
IDE/print_synthesized_extensions.swift
Driver/batch_mode_print_jobs.swift
Driver/embed-bitcode.swift
Driver/fuzzer.swift
Driver/sanitizers.swift
Driver/batch_mode_bridging_pch.swift
Driver/batch_mode_parseable_output.swift
ClangImporter/system-framework-search-path.swift
APINotes/basic.swift
APINotes/versioned-multi.swift
APINotes/versioned.swift
APINotes/versioned-test-mangling.swift
ClangImporter/autolinking.swift
ClangImporter/MixedSource/import-mixed-framework.swift
ClangImporter/MixedSource/import-mixed-with-header-twice.swift
ClangImporter/MixedSource/import-mixed-with-header.swift
ClangImporter/attr-swift_name_renaming.swift
ClangImporter/clang_builtin_pcm.swift
ClangImporter/availability_returns_twice.swift
ClangImporter/cfuncs_parse.swift
ClangImporter/clang_builtins.swift
ClangImporter/const_and_pure.swift
ClangImporter/ctypes_parse.swift
ClangImporter/cstring_parse.swift
ClangImporter/ctypes_parse_bitfields.swift
ClangImporter/diags-with-many-imports.swift
ClangImporter/ctypes_parse_swift4.swift
ClangImporter/ctypes_parse_union.swift
ClangImporter/custom-include.swift
ClangImporter/cvars_parse.swift
ClangImporter/diags_from_module.swift
ClangImporter/enum-anon.swift
ClangImporter/import-as-member.swift
ClangImporter/macro_literals.swift
ClangImporter/macros.swift
ClangImporter/macros_redef.swift
ClangImporter/mapped-integers.swift.gyb
ClangImporter/non-modular-include.swift
ClangImporter/predefined_macros.swift
ClangImporter/sdk.swift
ClangImporter/script.swift
ClangImporter/serialization-search-paths.swift
ClangImporter/serialization.swift
ClangImporter/static_inline.swift
ClangImporter/simd.swift
ClangImporter/simd_sans_simd.swift
ClangImporter/submodules.swift
ClangImporter/submodules-bridging-header.swift
ClangImporter/submodules_indirect.swift
ClangImporter/submodules_scoped.swift
Compatibility/accessibility_private.swift
Compatibility/accessibility_compound.swift
Compatibility/protocol_composition.swift
Compatibility/throws_identifier.swift
Constraints/diagnostics.swift
Constraints/metatypes.swift
Constraints/same_types.swift
DebugInfo/ASTSection.swift
DebugInfo/Globals.swift
DebugInfo/Imports.swift
DebugInfo/allocstack.swift
DebugInfo/basic.swift
DebugInfo/closure-multivalue.swift
DebugInfo/compiler-flags.swift
DebugInfo/conditional-assign.swift
DebugInfo/generic_arg.swift
DebugInfo/inout.swift
DebugInfo/inlinescopes.swift
DebugInfo/line-directive.swift
DebugInfo/linetable-do.swift
DebugInfo/modulecache.swift
DebugInfo/nostorage.swift
DebugInfo/prologue.swift
DebugInfo/top_level_code.swift
Demangle/lookup.swift
DebugInfo/variables.swift
Demangle/demangle-simplified.swift
Demangle/demangle.swift
Driver/Dependencies/bindings-build-record-options.swift
Demangle/remangle.swift
Driver/Dependencies/bindings-build-record.swift
Driver/Dependencies/chained-additional-kinds.swift
Driver/Dependencies/build-record-invalid.swift
Driver/Dependencies/chained-after.swift
Driver/Dependencies/chained-private-after-multiple-nominal-members.swift
Driver/Dependencies/chained-private-after-multiple.swift
Driver/Dependencies/chained-private-after.swift
Driver/Dependencies/chained.swift
Driver/Dependencies/chained-private.swift
Driver/Dependencies/crash-new.swift
Driver/Dependencies/crash-added.swift
Driver/Dependencies/crash-simple.swift
Driver/Dependencies/dependencies-preservation.swift
Driver/Dependencies/driver-show-incremental-arguments.swift
Driver/Dependencies/driver-show-incremental-conflicting-arguments.swift
Driver/Dependencies/driver-show-incremental-malformed.swift
Driver/Dependencies/driver-show-incremental-inputs.swift
Driver/Dependencies/driver-show-incremental-mutual.swift
Driver/Dependencies/fail-chained.swift
Driver/Dependencies/driver-show-incremental-swift-version.swift
Driver/Dependencies/embed-bitcode-parallel.swift
Driver/Dependencies/fail-added.swift
Driver/Dependencies/fail-new.swift
Driver/Dependencies/fail-interface-hash.swift
Driver/Dependencies/fail-with-bad-deps.swift
Driver/Dependencies/fail-simple.swift
Driver/Dependencies/file-added.swift
Driver/Dependencies/independent-parseable.swift
Driver/Dependencies/independent-half-dirty.swift
Driver/Dependencies/independent.swift
Driver/Dependencies/malformed-but-valid-yaml.swift
Driver/Dependencies/malformed.swift
Driver/Dependencies/mutual-interface-hash.swift
Driver/Dependencies/nominal-members.swift
Driver/Dependencies/mutual.swift
Driver/Dependencies/one-way-depends-after.swift
Driver/Dependencies/one-way-depends-before.swift
Driver/Dependencies/one-way-external.swift
Driver/Dependencies/one-way-external-delete.swift
Driver/Dependencies/one-way-merge-module.swift
Driver/Dependencies/one-way-parallel.swift
Driver/Dependencies/one-way-parseable.swift
Driver/Dependencies/one-way-provides-after.swift
Driver/Dependencies/one-way-provides-before.swift
Driver/Dependencies/one-way.swift
Driver/Dependencies/one-way-while-editing.swift
Driver/actions.swift
Driver/Dependencies/only-skip-once.swift
Driver/Dependencies/private-after.swift
Driver/Dependencies/private.swift
Driver/Dependencies/whole-module-build-record.swift
Driver/advanced_output_file_map.swift
Driver/assert.swift
Driver/batch_mode.swift
Driver/basic_output_file_map.swift
Driver/bridging-pch.swift
Driver/bindings.swift
Driver/broken_output_file_map.swift
Driver/color-diagnostics.swift
Driver/crash.swift
Driver/driver-compile.swift
Driver/driver_mode.swift
Driver/emit-module-from-sib.swift
Driver/emit-sib-single-file.swift
Driver/linker.swift
Driver/environment.swift
Driver/filelists.swift
Driver/loaded_module_trace.swift
Driver/loaded_module_trace_append.swift
Driver/loaded_module_trace_env.swift
Driver/merge-module.swift
Driver/loaded_module_trace_multifile.swift
Driver/multi-threaded.swift
Driver/modulewrap.swift
Driver/opt-record.swift
Driver/options.swift
Driver/opt-remark.swift
Driver/options-repl.swift
Driver/os-deployment.swift
Driver/output.swift
Driver/parseable_output.swift
Driver/parseable_output_unicode.swift
Driver/profiling.swift
Driver/sdk-apple.swift
Driver/sdk.swift
Driver/unknown-inputs.swift
Driver/tools_directory.swift
Driver/working-directory.swift
Frontend/dependencies-preservation.swift
Frontend/dependencies.swift
Frontend/embed-bitcode.swift
Frontend/emit-module-path-wmo.swift
Frontend/filelist.swift
Frontend/sil-primary-file-with-sib.swift
Generics/associated_type_where_clause.swift
Generics/conditional_conformances_execute_smoke.swift
Generics/conditional_conformances.swift
Generics/deduction.swift
Generics/validate_stdlib_generic_signatures.swift
Generics/generic_types.swift
Generics/protocol_where_clause.swift
Generics/requirement_inference.swift
Generics/same_type_constraints.swift
Generics/superclass_constraint.swift
IDE/comment_to_xml.swift
IDE/comment_extensions.swift
IDE/complete_after_super.swift
IDE/complete_associated_types.swift
IDE/complete_cache.swift
IDE/complete_default_arguments.swift
IDE/complete_from_clang_framework.swift
IDE/complete_from_clang_framework_typechecker.swift
IDE/complete_from_clang_importer_framework.swift
IDE/complete_init.swift
IDE/complete_members_optional.swift
IDE/complete_overridden_decls.swift
IDE/complete_override.swift
IDE/complete_override_access_control_class.swift
IDE/complete_override_access_control_protocol.swift
IDE/complete_with_multiple_imports.swift
IDE/import_as_member.swift
IDE/print_ast_overlay.swift
IDE/print_ast_tc_decls.swift
IDE/print_clang_header.swift
IDE/print_clang_decls.swift
IDE/print_module_without_deinit.swift
IDE/print_usrs.swift
IDE/reconstruct_type_from_mangled_name_import.swift
Index/Store/driver-index.swift
Index/Store/record-comments.swift
Index/Store/record-dependency.swift
Index/Store/record-empty.swift
Index/Store/record-sourcefile.swift
Index/Store/unit-one-file-multi-file-invocation.swift
InterfaceHash/added_method.swift
InterfaceHash/added_function.swift
InterfaceHash/added_private_class_private_property.swift
InterfaceHash/added_private_class_property.swift
InterfaceHash/added_private_enum_private_property.swift
InterfaceHash/added_private_enum_property.swift
InterfaceHash/added_private_method.swift
InterfaceHash/added_private_method_value_types.swift
InterfaceHash/added_private_protocol_method.swift
InterfaceHash/added_private_protocol_property.swift
InterfaceHash/added_private_struct_private_property.swift
InterfaceHash/added_private_struct_property.swift
InterfaceHash/changed_private_var_type.swift
InterfaceHash/changed_var_name.swift
InterfaceHash/edited_function_body.swift
InterfaceHash/changed_var_type.swift
Interpreter/ClosureLeak.swift
InterfaceHash/edited_method_body.swift
InterfaceHash/edited_property_getter.swift
Interpreter/FunctionConversion.swift
Interpreter/RosettaCode.swift
Interpreter/SDK/multi-file-imported-enum.swift
Interpreter/SDK/libc.swift
Interpreter/algorithms.swift
Interpreter/SDK/objc_ns_enum.swift
Interpreter/archetype_casts.swift
Interpreter/arrays.swift
Interpreter/array_of_optional.swift
Interpreter/binary_operator_perf.swift
Interpreter/bitvector.swift
Interpreter/bool_as_generic.swift
Interpreter/break_continue.swift
Interpreter/builtin_bridge_object.swift
Interpreter/builtin.swift
Interpreter/c_bitfields.swift
Interpreter/c_unions.swift
Interpreter/capture_top_level.swift
Interpreter/capture_inout.swift
Interpreter/capture_unowned.swift
Interpreter/class_resilience.swift
Interpreter/classes.swift
Interpreter/collection_casts.swift
Interpreter/closures.swift
Interpreter/conditional_conformances.swift
Interpreter/conditional_conformances_smoke.swift
Interpreter/constructor.swift
Interpreter/currying_generics.swift
Interpreter/conversions.swift
Interpreter/currying_protocols.swift
Interpreter/defer.swift
Interpreter/dependent_reabstraction.swift
Interpreter/destructors.swift
Interpreter/dynamic_self.swift
Interpreter/enum.swift
Interpreter/enum-nonexhaustivity.swift
Interpreter/enum_Error.swift
Interpreter/enum_equatable_hashable_correctness.swift
Interpreter/enum_resilience.swift
Interpreter/errors.swift
Interpreter/enum_runtime_alignment.swift
Interpreter/extended_grapheme_cluster_literal.swift
Interpreter/failable_initializers.swift
Interpreter/field_offset_generic.swift
Interpreter/formal_access.swift
Interpreter/function_metatypes.swift
Interpreter/functions.swift
Interpreter/generic_casts.swift
Interpreter/generic_class.swift
Interpreter/generic_class_empty_field.swift
Interpreter/generic_implicit_closure.swift
Interpreter/generic_ref_counts.swift
Interpreter/generic_subscript.swift
Interpreter/generic_struct.swift
Interpreter/generic_tuple.swift
Interpreter/global_resilience.swift
Interpreter/generics.swift
Interpreter/hello_func.swift
Interpreter/hello_toplevel.swift
Interpreter/if_expr.swift
Interpreter/initializers.swift
Interpreter/interpolation.swift
Interpreter/lazy_properties.swift
Interpreter/layout_reabstraction.swift
Interpreter/nested_generics.swift
Interpreter/optional.swift
Interpreter/object.swift
Interpreter/pinning.swift
Interpreter/optional_lvalues.swift
Interpreter/properties.swift
Interpreter/protocol_extensions.swift
Interpreter/protocol_lookup.swift
Interpreter/protocol_resilience.swift
Interpreter/protocols.swift
Interpreter/rdar15674812.swift
Interpreter/recursive_generics.swift
Interpreter/selector_arguments.swift
Interpreter/simple.swift
Interpreter/slices.swift
Interpreter/statements.swift
Interpreter/string_literal.swift
Interpreter/struct_equatable_hashable_correctness.swift
Interpreter/struct_resilience.swift
Interpreter/structs.swift
Interpreter/super_constructor.swift
Interpreter/subscripting.swift
Interpreter/switch.swift
Interpreter/switch_where_clause.swift
Interpreter/throwing_initializers.swift
Interpreter/testability.swift
Interpreter/tuple_casts.swift
Interpreter/tuples.swift
Interpreter/typeof.swift
Interpreter/unicode_scalar_literal.swift
Interpreter/unions-and-bitfields.swift
Interpreter/unowned_overflow.swift
Interpreter/use_public_var_private_setter.swift
Interpreter/varargs.swift
Interpreter/weak.swift
Interpreter/wildcard_dispatch_on_catch.swift
Interpreter/writeback.swift
Migrator/never_compiles_safely_exits.swift
Misc/dump_api.swift
Misc/stats_dir_profiler.swift
NameBinding/InheritedConformance.swift
NameBinding/MutualDependency.swift
NameBinding/accessibility.swift
NameBinding/import-specific-fixits.swift
NameBinding/named_lazy_member_loading_swift_class.swift
NameBinding/named_lazy_member_loading_swift_class_type.swift
NameBinding/named_lazy_member_loading_swift_derived_class.swift
NameBinding/named_lazy_member_loading_swift_enum.swift
NameBinding/named_lazy_member_loading_swift_derived_class_type.swift
NameBinding/named_lazy_member_loading_swift_proto.swift
NameBinding/named_lazy_member_loading_swift_struct.swift
NameBinding/named_lazy_member_loading_swift_struct_ext_mem.swift
NameBinding/named_lazy_member_loading_swift_struct_ext.swift
NameBinding/reference-dependencies-errors.swift
NameBinding/reference-dependencies-members.swift
NameBinding/reference-dependencies.swift
Parse/enum.swift
Parse/line-directive-executable.swift
Parse/objc_enum.swift
Parse/pointer_conversion.swift.gyb
PlaygroundTransform/array.swift
PlaygroundTransform/array_did_set.swift
PlaygroundTransform/bare_value.swift
PlaygroundTransform/control-flow.swift
PlaygroundTransform/declarations.swift
PlaygroundTransform/declarations_error.swift
PlaygroundTransform/defer.swift
PlaygroundTransform/disable_transform_only.swift
PlaygroundTransform/do-catch.swift
PlaygroundTransform/do.swift
PlaygroundTransform/empty-tuple.swift
PlaygroundTransform/for_crash.swift
PlaygroundTransform/high_performance.swift
PlaygroundTransform/import_error.swift
PlaygroundTransform/init.swift
PlaygroundTransform/mutation.swift
PlaygroundTransform/nested_function.swift
PlaygroundTransform/placeholder.swift
PlaygroundTransform/plus_equals.swift
PlaygroundTransform/print.swift
Prototypes/Algorithms.swift
Prototypes/CollectionTransformers.swift
Prototypes/PatternMatching.swift
Prototypes/GenericDispatch.swift
Prototypes/Result.swift
Prototypes/UnicodeDecoders.swift
Prototypes/TextFormatting.swift
Prototypes/property_behaviors/delayed.swift
Reflection/typeref_decoding.swift
Reflection/box_descriptors.sil
Reflection/capture_descriptors.sil
Reflection/typeref_decoding_imported.swift
Reflection/typeref_lowering.swift
Runtime/demangleToMetadata.swift
Runtime/weak-reference-racetests.swift
SIL/Parser/apply_with_conformance.sil
SIL/Parser/basic.sil
SIL/Parser/opaque_values_parse.sil
SIL/Parser/polymorphic_function.sil
SIL/Parser/protocol_getter.sil
SIL/Parser/unnamed_struct_identifiers.sil
SIL/Parser/undef.sil
SIL/Serialization/deserialize_stdlib.sil
SIL/Parser/witness_method.sil
SIL/opaque-verify.sil
SIL/ownership-verifier/use_verifier.sil
SIL/type_dependent_operands.swift
SIL/unimplemented_initializer.swift
SILGen/SILDeclRef.swift
SILGen/address_only_types.swift
SILGen/assignment.swift
SILGen/boxed_existentials.swift
SILGen/builtins.swift
SILGen/class_bound_protocols.swift
SILGen/closure_script_global_escape.swift
SILGen/collection_upcast.swift
SILGen/dynamic_self.swift
SILGen/existential_erasure.swift
SILGen/existential_metatypes.swift
SILGen/function_conversion.swift
SILGen/functions.swift
SILGen/generic_closures.swift
SILGen/generic_property_base_lifetime.swift
SILGen/generic_witness.swift
SILGen/guaranteed_normal_args.swift
SILGen/imported_struct_array_field.swift
SILGen/inherited_protocol_conformance_multi_file.swift
SILGen/keypaths.swift
SILGen/let_decls.swift
SILGen/lying_about_optional_return.swift
SILGen/mangling_private.swift
SILGen/opaque_values_silgen.swift
SILGen/opaque_ownership.swift
SILGen/partial_apply_protocol.swift
SILGen/pointer_conversion.swift
SILGen/partial_apply_protocol_class_refinement_method.swift
SILGen/properties.swift
SILGen/protocol_extensions.swift
SILGen/protocols.swift
SILGen/protocol_resilience.swift
SILGen/sil_locations.swift
SILGen/statements.swift
SILGen/subclass_existentials.swift
SILGen/witness-init-requirement-with-base-class-init.swift
SILGen/weak_multiple_modules.swift
SILGen/witness_accessibility.swift
SILGen/witness_tables.swift
SILGen/witnesses.swift
SILGen/witness_tables_serialized.swift
SILGen/witnesses_class.swift
SILGen/witnesses_canonical.swift
SILOptimizer/allocbox_to_stack.sil
SILOptimizer/allocbox_to_stack_ownership.sil
SILOptimizer/allocstack_hoisting.sil
SILOptimizer/arcsequenceopts_rcidentityanalysis.sil
SILOptimizer/array_specialize.sil
SILOptimizer/cast_folding.swift
SILOptimizer/capture_propagation_linkage.swift
SILOptimizer/capturepromotion-wrong-lexicalscope.swift
SILOptimizer/closure_specialize_consolidated.sil
SILOptimizer/cse.sil
SILOptimizer/dead_array_elim.sil
SILOptimizer/dead_function_elimination.swift
SILOptimizer/definite-init-wrong-scope2.swift
SILOptimizer/definite-init-wrongscope.swift
SILOptimizer/definite_init_diagnostics.swift
SILOptimizer/definite_init_cross_module.swift
SILOptimizer/definite_init_cross_module_swift4.swift
SILOptimizer/definite_init_extension.swift
SILOptimizer/definite_init_hang.swift
SILOptimizer/definite_init_inout_super_init.swift
SILOptimizer/definite_init_lvalue_let_witness_methods.swift
SILOptimizer/definite_init_markuninitialized_derivedself.sil
SILOptimizer/definite_init_markuninitialized_rootself.sil
SILOptimizer/definite_init_markuninitialized_var.sil
SILOptimizer/definite_init_value_types.swift
SILOptimizer/devirt_base_class.swift
SILOptimizer/devirt_class_witness_method.sil
SILOptimizer/devirt_materializeForSet.swift
SILOptimizer/devirt_single_module_in_multiple_files.swift
SILOptimizer/devirt_protocol_method_invocations.swift
SILOptimizer/devirt_speculate.swift
SILOptimizer/devirt_try_apply.sil
SILOptimizer/devirtualize.sil
SILOptimizer/escape_analysis.sil
SILOptimizer/existential_type_propagation.sil
SILOptimizer/generic_specialization_loops_detection_without_loops.swift
SILOptimizer/generic_specialization_loops_detection_with_loops.swift
SILOptimizer/global_init_with_empty.swift
SILOptimizer/infinite_recursion.swift
SILOptimizer/inline_generics.sil
SILOptimizer/inline_self.swift
SILOptimizer/inliner_coldblocks.sil
SILOptimizer/let_properties_opts_runtime.swift
SILOptimizer/licm.sil
SILOptimizer/looprotate.sil
SILOptimizer/mandatory_inlining.sil
SILOptimizer/mandatory_inlining_open_existential.sil
SILOptimizer/no-external-defs-onone.sil
SILOptimizer/opened_archetype_operands_tracking.sil
SILOptimizer/optionset.swift
SILOptimizer/partial_specialization.sil
SILOptimizer/protocol_lookup.swift
SILOptimizer/predictable_memopt_unreferenceable_storage.swift
SILOptimizer/rcidentity.sil
SILOptimizer/sil_combine.sil
SILOptimizer/sil_combine1.swift
SILOptimizer/sil_combine_apply.sil
SILOptimizer/sink.sil
SILOptimizer/specialize_partial_apply.swift
SILOptimizer/specialize_no_definition.sil
SILOptimizer/specialized_anyobject_conformance.swift
SILOptimizer/split_critical_edges.sil
SILOptimizer/sr-5068.sil
SILOptimizer/stack-nesting-wrong-scope.swift
SILOptimizer/static_arrays.swift
SILOptimizer/string_switch.swift
SILOptimizer/unused_containers.swift
Sema/accessibility_compound.swift
Sema/accessibility_private.swift
Sema/accessibility_shared_private.swift
Sema/diag_metatype_cast_to_reference_no_objc.swift
Sema/enum_equatable_hashable.swift
Sema/enum_raw_representable_generic.swift
Sema/fixed_ambiguities/rdar35623181.swift
Serialization/Recovery/typedefs.swift
Serialization/autolinking.swift
Serialization/class-determinism.swift
Serialization/basic_sil.swift
Serialization/class.swift
Serialization/class-roundtrip-module.swift
Serialization/comments-framework.swift
Serialization/conformance-multi-file.swift
Serialization/enum.swift
Serialization/failed-clang-module.swift
Serialization/load-file-permissions.swift
Serialization/load-invalid.swift
SILOptimizer/specialize.sil
SILGen/expressions.swift
Interpreter/class_in_constrained_extension.swift
Interpreter/metatype.swift
stmt/foreach.swift
stdlib/tgmath_optimized.swift
stdlib/tgmath.swift
stdlib/subString.swift
stdlib/sort_integers.swift
stdlib/simd_diagnostics.swift
stdlib/mmap.swift
stdlib/simd.swift.gyb
stdlib/integer_conversions.swift
stdlib/VarArgs.swift
stdlib/WeakMirror.swift
stdlib/Unmanaged.swift
stdlib/UnsafeRawPointer.swift
stdlib/UnsafeRawBufferPointer.swift
stdlib/UnsafePointer.swift.gyb
stdlib/Unicode.swift
stdlib/UnicodeMetadata.swift
stdlib/TypeName.swift
stdlib/UnavailableStringAPIs.swift.gyb
stdlib/StringTraps.swift
stdlib/Tuple.swift.gyb
stdlib/StringReallocation.swift
stdlib/StringOrderRelation.swift
stdlib/StringDiagnostics.swift
stdlib/StringDescribing.swift
stdlib/StringAPI.swift
stdlib/Strideable.swift
stdlib/SetTraps.swift
stdlib/StaticString.swift
stdlib/Set.swift
stdlib/Repeat.swift
stdlib/Runtime.swift.gyb
stdlib/Reflection.swift
stdlib/Reflection_objc.swift
stdlib/RangeTraps.swift
stdlib/Reduce.swift
stdlib/RangeDiagnostics.swift
stdlib/PrintTuple.swift
stdlib/PrintStruct.swift
stdlib/PrintSet.swift
stdlib/PrintString.swift
stdlib/PrintPointer.swift
stdlib/PrintInteger.swift
stdlib/PrintDictionary.swift
stdlib/PrintFloat.swift
stdlib/PrintClass.swift
stdlib/PrintBoolean.swift
stdlib/PrintArray.swift
stdlib/Print.swift
stdlib/POSIX.swift
stdlib/OptionalTraps.swift
stdlib/Optional.swift
stdlib/OptionSetTest.swift
stdlib/Nil.swift
stdlib/NumericParsing.swift.gyb
stdlib/Mirror.swift
stdlib/MathConstants.swift
stdlib/Map.swift
stdlib/ManagedBuffer.swift
stdlib/KeyPathImplementation.swift
stdlib/KeyPath.swift
stdlib/IntervalTraps.swift
stdlib/ImplicitlyUnwrappedOptional.swift
stdlib/InputStream.swift.gyb
stdlib/FloatingPointIR.swift
stdlib/FloatingPoint.swift.gyb
stdlib/FloatConstants.swift
stdlib/FixedPointTruncation.swift
stdlib/Float.swift
stdlib/Filter.swift
stdlib/ErrorHandling.swift
stdlib/Error.swift
stdlib/DoubleWidth.swift
stdlib/DictionaryTraps.swift
stdlib/DictionaryUnchecked.swift
stdlib/CommandLine.swift
stdlib/DebuggerSupport.swift
stdlib/CollectionOfOne.swift
stdlib/CharacterTraps.swift
stdlib/Character.swift
stdlib/Casts.swift
stdlib/CastTraps.swift.gyb
stdlib/Builtins.swift
stdlib/AnyHashableCasts.swift.gyb
stdlib/AllocRounding.swift
sil-passpipeline-dump/basic.test-sh
reproducible-builds/swiftc-emit-tbd.swift
reproducible-builds/swiftc-emit-sibgen.swift
reproducible-builds/swiftc-emit-module.swift
reproducible-builds/swiftc-emit-sib.swift
reproducible-builds/swiftc-emit-bc.swift
multifile/typealias/two-modules/main.swift
multifile/synthesized-accessors/two-modules/main.swift
multifile/typealias/one-module/main.swift
multifile/synthesized-accessors/one-module-public/main.swift
multifile/synthesized-accessors/one-module-internal/main.swift
multifile/require-layout3/main.swift
multifile/require-layout2/main.swift
multifile/require-layout/main.swift
multifile/protocol-conformance-member.swift
multifile/extensions/two-modules/main.swift
multifile/external-protocol-conformance.swift
multifile/error-type/two-modules/main.swift
multifile/default-arguments/two-modules/main.swift
multifile/error-type/one-module/main.swift
multifile/default-arguments/one-module/main.swift
multifile/constant-tuple-with-padding/main.swift
multifile/class-layout/final-stored-property/main.swift
multifile/constant-struct-with-padding/main.swift
expr/postfix/call/construction.swift
expr/cast/array_downcast.swift
decl/typealias/protocol.swift
decl/typealias/generic.swift
decl/protocol/special/coding/enum_coding_key_string_raw_type.swift
decl/protocol/special/coding/struct_codable_failure_diagnostics.swift
decl/protocol/special/coding/enum_coding_key_no_raw_type.swift
decl/protocol/special/coding/enum_coding_key_int_raw_type.swift
decl/protocol/special/coding/enum_coding_key_empty.swift
decl/protocol/special/coding/class_codable_failure_diagnostics.swift
decl/protocol/special/Error.swift
decl/protocol/req/func.swift
decl/protocol/req/associated_type_inference.swift
decl/protocol/protocols.swift
decl/protocol/conforms/fixit_stub_editor_implied.swift
decl/protocol/conforms/fixit_stub_editor.swift
decl/protocol/conforms/fixit_stub.swift
decl/protocol/conforms/associated_type.swift
decl/nested/type_in_type.swift
Serialization/load-missing-dependency.swift
decl/init/nonnull-delegate-to-nullable-in-base-class.swift
decl/init/default-initialization.swift
decl/import/import.swift
decl/ext/protocol.swift
decl/ext/extensions.swift
decl/enum/enumtest.swift
attr/attr_specialize.swift
attr/attr_implements.swift
attr/attr_cdecl.swift
attr/accessibility_multifile.swift
TypeCoercion/integer_literals.swift
Syntax/round_trip_tuple.swift
Serialization/multi-file-nested-type-circularity.swift
Serialization/multi-file-nested-type-extension.swift
Serialization/multi-file-nested-type-simple.swift
Serialization/objc.swift
Serialization/resilience.swift
Serialization/search-paths-relative.swift
Serialization/search-paths.swift
Serialization/struct.swift
Serialization/target-incompatible.swift
Syntax/round_trip_misc.swift
Syntax/round_trip_function.swift
Serialization/xref-nested-clang-type.swift
Serialization/xref-extensions.swift
Serialization/top-level-code.swift
Serialization/testability.swift
Serialization/typealias.swift
Serialization/write-to-locked-dir.swift
Serialization/transparent.swift
Serialization/apple-default-search-paths.swift

Swift-Unit :: runtime/./SwiftRuntimeTests.exe/MetadataTest.getMetatypeMetadata

This is great progress. I’m curious: is there a fix for the value witness table linking issue in place yet, or is that not encountered by the test suite?

Either way, this is great - having everything working smoothly and regularly tested will be a huge step forward for Swift as a cross-platform language, and thank you for your work towards it!

Yes, the value witness table issue is addressed. I think that there are a couple more cases that need to be addressed, but to do so requires being able to build more code (like the SDK overlay for libdispatch and Foundation). I have a partial patch (WIP) to port libdispatch to windows to allow this.

I think that even getting the subset of the test suite that covers the parsing/IRGen will be helpful in flushing out the issues and making sure that we have feature parity across all the environments.