Skip to content

[5.1] Enable evolution tests for swift_test_mode optimize_none_with_implicit_dynamic #25427

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/lit.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -1289,7 +1289,7 @@ config.target_resilience_test = (

# FIXME: Get symbol diffing working with binutils nm as well. The flags are slightly
# different.
if platform.system() != 'Darwin':
if platform.system() != 'Darwin' or swift_test_mode == 'optimize_none_with_implicit_dynamic':
config.target_resilience_test = ('%s --no-symbol-diff' %
config.target_resilience_test)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// RUN: %target-resilience-test --backward-deployment
// REQUIRES: executable_test

// Uses swift-version 4.
// UNSUPPORTED: swift_test_mode_optimize_none_with_implicit_dynamic
// SR-10913
// UNSUPPORTED: OS=windows-msvc

import StdlibUnittest
import backward_deploy_always_emit_into_client
Expand Down
4 changes: 2 additions & 2 deletions validation-test/Evolution/test_backward_deploy_class.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// RUN: %target-resilience-test --backward-deployment
// REQUIRES: executable_test

// Uses swift-version 4.
// UNSUPPORTED: swift_test_mode_optimize_none_with_implicit_dynamic
// SR-10913
// UNSUPPORTED: OS=windows-msvc

import StdlibUnittest
import backward_deploy_class
Expand Down
4 changes: 2 additions & 2 deletions validation-test/Evolution/test_backward_deploy_enum.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// RUN: %target-resilience-test --backward-deployment
// REQUIRES: executable_test

// Use swift-version 4.
// UNSUPPORTED: swift_test_mode_optimize_none_with_implicit_dynamic
// SR-10913
// UNSUPPORTED: OS=windows-msvc

import StdlibUnittest
import backward_deploy_enum
Expand Down
4 changes: 2 additions & 2 deletions validation-test/Evolution/test_backward_deploy_protocol.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// RUN: %target-resilience-test --backward-deployment
// REQUIRES: executable_test

// Use swift-version 4.
// UNSUPPORTED: swift_test_mode_optimize_none_with_implicit_dynamic
// SR-10913
// UNSUPPORTED: OS=windows-msvc

import StdlibUnittest
import backward_deploy_protocol
Expand Down
4 changes: 2 additions & 2 deletions validation-test/Evolution/test_backward_deploy_struct.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// RUN: %target-resilience-test --backward-deployment
// REQUIRES: executable_test

// Use swift-version 4.
// UNSUPPORTED: swift_test_mode_optimize_none_with_implicit_dynamic
// SR-10913
// UNSUPPORTED: OS=windows-msvc

import StdlibUnittest
import backward_deploy_struct
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// RUN: %target-resilience-test --backward-deployment
// REQUIRES: executable_test

// Use swift-version 4.
// UNSUPPORTED: swift_test_mode_optimize_none_with_implicit_dynamic
// SR-10913
// UNSUPPORTED: OS=windows-msvc

import StdlibUnittest
import backward_deploy_top_level
Expand Down
3 changes: 0 additions & 3 deletions validation-test/Evolution/test_bitwise_takable.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// RUN: %target-resilience-test
// REQUIRES: executable_test

// Use swift-version 4.
// UNSUPPORTED: swift_test_mode_optimize_none_with_implicit_dynamic

import StdlibUnittest
import bitwise_takable

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// RUN: %target-resilience-test
// REQUIRES: executable_test

// Use swift-version 4.
// UNSUPPORTED: swift_test_mode_optimize_none_with_implicit_dynamic

import StdlibUnittest
import change_default_argument_to_magic

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// RUN: %target-resilience-test
// REQUIRES: executable_test

// Use swift-version 4.
// UNSUPPORTED: swift_test_mode_optimize_none_with_implicit_dynamic

import StdlibUnittest
import class_add_convenience_init

Expand Down
3 changes: 0 additions & 3 deletions validation-test/Evolution/test_class_add_deinit.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// RUN: %target-resilience-test
// REQUIRES: executable_test

// Use swift-version 4.
// UNSUPPORTED: swift_test_mode_optimize_none_with_implicit_dynamic

import StdlibUnittest
import class_add_deinit

Expand Down
3 changes: 0 additions & 3 deletions validation-test/Evolution/test_class_add_property.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// RUN: %target-resilience-test
// REQUIRES: executable_test

// Use swift-version 4.
// UNSUPPORTED: swift_test_mode_optimize_none_with_implicit_dynamic

import StdlibUnittest
import class_add_property

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// RUN: %target-resilience-test
// REQUIRES: executable_test

// Use swift-version 4.
// UNSUPPORTED: swift_test_mode_optimize_none_with_implicit_dynamic

import StdlibUnittest
import class_add_property_attribute

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// RUN: %target-resilience-test
// REQUIRES: executable_test

// Use swift-version 4.
// UNSUPPORTED: swift_test_mode_optimize_none_with_implicit_dynamic

import StdlibUnittest
import class_add_property_subclass

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// RUN: %target-resilience-test
// REQUIRES: executable_test

// Use swift-version 4.
// UNSUPPORTED: swift_test_mode_optimize_none_with_implicit_dynamic

import StdlibUnittest
import class_change_lazy_to_computed

Expand Down
3 changes: 0 additions & 3 deletions validation-test/Evolution/test_class_change_size.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// RUN: %target-resilience-test
// REQUIRES: executable_test

// Use swift-version 4.
// UNSUPPORTED: swift_test_mode_optimize_none_with_implicit_dynamic

import StdlibUnittest
import class_change_size

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// RUN: %target-resilience-test
// REQUIRES: executable_test

// Use swift-version 4.
// UNSUPPORTED: swift_test_mode_optimize_none_with_implicit_dynamic

import StdlibUnittest
import class_change_stored_to_computed

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// RUN: %target-resilience-test
// REQUIRES: executable_test

// Use swift-version 4.
// UNSUPPORTED: swift_test_mode_optimize_none_with_implicit_dynamic

import StdlibUnittest
import class_change_stored_to_observed

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// RUN: %target-resilience-test
// REQUIRES: executable_test

// Use swift-version 4.
// UNSUPPORTED: swift_test_mode_optimize_none_with_implicit_dynamic

import StdlibUnittest
import class_fixed_layout_add_virtual_method

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// RUN: %target-resilience-test
// REQUIRES: executable_test

// Use swift-version 4.
// UNSUPPORTED: swift_test_mode_optimize_none_with_implicit_dynamic

import StdlibUnittest
import class_fixed_layout_add_virtual_method_subclass

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// RUN: %target-resilience-test
// REQUIRES: executable_test

// Use swift-version 4.
// UNSUPPORTED: swift_test_mode_optimize_none_with_implicit_dynamic

import StdlibUnittest
import class_fixed_layout_superclass_reorder_methods

Expand Down
3 changes: 0 additions & 3 deletions validation-test/Evolution/test_class_insert_superclass.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// RUN: %target-resilience-test
// REQUIRES: executable_test

// Use swift-version 4.
// UNSUPPORTED: swift_test_mode_optimize_none_with_implicit_dynamic

import StdlibUnittest
import class_insert_superclass

Expand Down
3 changes: 0 additions & 3 deletions validation-test/Evolution/test_class_remove_property.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// RUN: %target-resilience-test
// REQUIRES: executable_test

// Use swift-version 4.
// UNSUPPORTED: swift_test_mode_optimize_none_with_implicit_dynamic

import StdlibUnittest
import class_remove_property

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// RUN: %target-resilience-test
// REQUIRES: executable_test

// Use swift-version 4.
// UNSUPPORTED: swift_test_mode_optimize_none_with_implicit_dynamic

import StdlibUnittest
import class_resilient_add_override

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// RUN: %target-resilience-test
// REQUIRES: executable_test

// Use swift-version 4.
// UNSUPPORTED: swift_test_mode_optimize_none_with_implicit_dynamic

import StdlibUnittest
import class_resilient_add_virtual_method

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// RUN: %target-resilience-test
// REQUIRES: executable_test

// Use swift-version 4.
// UNSUPPORTED: swift_test_mode_optimize_none_with_implicit_dynamic

import StdlibUnittest
import class_resilient_add_virtual_method_subclass

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// RUN: %target-resilience-test
// REQUIRES: executable_test

// Use swift-version 4.
// UNSUPPORTED: swift_test_mode_optimize_none_with_implicit_dynamic

import StdlibUnittest
import class_resilient_superclass_methods

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// RUN: %target-resilience-test
// REQUIRES: executable_test

// Use swift-version 4.
// UNSUPPORTED: swift_test_mode_optimize_none_with_implicit_dynamic

import StdlibUnittest
import class_resilient_superclass_properties

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// RUN: %target-resilience-test
// REQUIRES: executable_test

// Use swift-version 4.
// UNSUPPORTED: swift_test_mode_optimize_none_with_implicit_dynamic

import StdlibUnittest
import class_resilient_superclass_reorder_methods

Expand Down
3 changes: 0 additions & 3 deletions validation-test/Evolution/test_conformance_reference.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// RUN: %target-resilience-test --no-symbol-diff
// REQUIRES: executable_test

// Uses swift-version 4.
// UNSUPPORTED: swift_test_mode_optimize_none_with_implicit_dynamic

import StdlibUnittest
import conformance_reference

Expand Down
3 changes: 0 additions & 3 deletions validation-test/Evolution/test_enum_add_cases.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// RUN: %target-resilience-test
// REQUIRES: executable_test

// Use swift-version 4.
// UNSUPPORTED: swift_test_mode_optimize_none_with_implicit_dynamic

import StdlibUnittest
import enum_add_cases

Expand Down
3 changes: 0 additions & 3 deletions validation-test/Evolution/test_enum_add_cases_trap.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// RUN: %target-resilience-test
// REQUIRES: executable_test

// Use swift-version 4.
// UNSUPPORTED: swift_test_mode_optimize_none_with_implicit_dynamic

import StdlibUnittest
import enum_add_cases_trap

Expand Down
3 changes: 0 additions & 3 deletions validation-test/Evolution/test_enum_change_size.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// RUN: %target-resilience-test
// REQUIRES: executable_test

// Use swift-version 4.
// UNSUPPORTED: swift_test_mode_optimize_none_with_implicit_dynamic

import StdlibUnittest
import enum_change_size

Expand Down
3 changes: 0 additions & 3 deletions validation-test/Evolution/test_enum_reorder_cases.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// RUN: %target-resilience-test
// REQUIRES: executable_test

// Use swift-version 4.
// UNSUPPORTED: swift_test_mode_optimize_none_with_implicit_dynamic

import enum_reorder_cases
import StdlibUnittest

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// RUN: %target-resilience-test
// REQUIRES: executable_test

// Use swift-version 4.
// UNSUPPORTED: swift_test_mode_optimize_none_with_implicit_dynamic

import StdlibUnittest
import function_change_transparent_body

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// RUN: %target-resilience-test
// REQUIRES: executable_test

// Use swift-version 4.
// UNSUPPORTED: swift_test_mode_optimize_none_with_implicit_dynamic

import StdlibUnittest
import generic_resilient_struct_add_property

Expand Down
3 changes: 0 additions & 3 deletions validation-test/Evolution/test_global_change_size.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// RUN: %target-resilience-test
// REQUIRES: executable_test

// Use swift-version 4.
// UNSUPPORTED: swift_test_mode_optimize_none_with_implicit_dynamic

import StdlibUnittest
import global_change_size

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// RUN: %target-resilience-test
// REQUIRES: executable_test

// Use swift-version 4.
// UNSUPPORTED: swift_test_mode_optimize_none_with_implicit_dynamic

import StdlibUnittest
import global_stored_to_computed

Expand Down
3 changes: 0 additions & 3 deletions validation-test/Evolution/test_keypath_default_argument.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// RUN: %target-resilience-test
// REQUIRES: executable_test

// Use swift-version 4.
// UNSUPPORTED: swift_test_mode_optimize_none_with_implicit_dynamic

import StdlibUnittest
import keypath_default_argument

Expand Down
Loading