Skip to content

Move (most of) No.Swiftmodule into a proper API test. #3895

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

Conversation

adrian-prantl
Copy link

Testing debugging from just reflection metadata is very important on
all platforms. Shell tests only run on the host. By migrating this
test to an API test we can make sure this is also tested when
debugging on iOS devices.

ifneq "$(CODESIGN)" ""
$(CODESIGN) -s - "$(EXE)"
endif
else # OS = Linux
$(EXE): $(MODULENAME).swiftmodule.o $(OBJECTS)
@echo "### Linking" $(EXE)
ifneq "$(EXCLUDE_WRAPPED_SWIFTMODULE)" ""
ifneq "$(HIDE_SWIFTMODULE)" ""
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Turns out this was no longer used by any test...

@adrian-prantl
Copy link
Author

@swift-ci test

@adrian-prantl
Copy link
Author

@swift-ci test

5 similar comments
@adrian-prantl
Copy link
Author

@swift-ci test

@adrian-prantl
Copy link
Author

@swift-ci test

@adrian-prantl
Copy link
Author

@swift-ci test

@adrian-prantl
Copy link
Author

@swift-ci test

@adrian-prantl
Copy link
Author

@swift-ci test

Comment on lines +29 to +32
public enum WithPayload {
case empty
case with(i: Int)
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a thought: should we include a multi-payload enum here, commented out, with a link to the radar?

@adrian-prantl
Copy link
Author

@swift-ci test

@adrian-prantl
Copy link
Author

@swift-ci test

@adrian-prantl
Copy link
Author

@swift-ci test

Testing debugging from just reflection metadata is very important on
all platforms. Shell tests only run on the host. By migrating this
test to an API test we can make sure this is also tested when
debugging on iOS devices.
@adrian-prantl
Copy link
Author

@swift-ci test

1 similar comment
@adrian-prantl
Copy link
Author

@swift-ci test

@adrian-prantl adrian-prantl merged commit 479467c into swiftlang:stable/20211026 Feb 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants