Skip to content

[build-presets] Enable stdlib assertions on Linux installations #32511

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
merged 1 commit into from
Jun 25, 2020

Conversation

vedantk
Copy link
Contributor

@vedantk vedantk commented Jun 23, 2020

Enable stdlib assertions in mixin_linux_installation.

Other presets which use mixin_lightweight_assertions, such as
buildbot_linux_crosscompile_android and buildbot_osx_package, are not
affected by this change.

Stdlib assertions are needed by reflection validation tests on Linux
(see #32339).

cc @augusto2112

Enable stdlib assertions in mixin_linux_installation.

Other presets which use mixin_lightweight_assertions, such as
buildbot_linux_crosscompile_android and buildbot_osx_package, are not
affected by this change.

Stdlib assertions are needed by reflection validation tests on Linux.
@vedantk
Copy link
Contributor Author

vedantk commented Jun 23, 2020

@swift-ci smoke test

@gottesmm
Copy link
Contributor

@shahmishal is the right person for this imo.

@gottesmm
Copy link
Contributor

@swift-ci smoke test

@vedantk
Copy link
Contributor Author

vedantk commented Jun 24, 2020

Huh, two lldb tests are unexpectedly passing after this change. I'll take a look.

18:21:11 Unexpected Passing Tests (2):
18:21:11     lldb-api :: lang/swift/tagged_pointer/TestSwiftTaggedPointer.py
18:21:11     lldb-api :: lang/swift/variables/dict_nsobj_anyobj/TestSwiftDictionaryNSObjectAnyObject.py

@shahmishal
Copy link
Member

These two are known UPASS after updating to newer Xcode.

swiftlang/llvm-project#1378
swiftlang/llvm-project#1379

@shahmishal
Copy link
Member

This PR disables it for now: swiftlang/llvm-project#1375

@swift-ci smoke test macOS

@vedantk
Copy link
Contributor Author

vedantk commented Jun 24, 2020

@swift-ci smoke test macOS

@vedantk
Copy link
Contributor Author

vedantk commented Jun 24, 2020

It looks like CI couldn't find the llvm-project PR:

/Users/buildnode/jenkins/workspace/swift-PR-osx-smoke-test/branch-master/llvm-project failed (ret=128): ['git', 'fetch', 'origin', 'pull/1375/merge:ci_pr_1375', '--tags']
fatal: couldn't find remote ref pull/1375/merge

It got merged, so maybe that's why. I'll try again.

@vedantk
Copy link
Contributor Author

vedantk commented Jun 24, 2020

@swift-ci smoke test macOS

@vedantk vedantk merged commit f8f2e56 into swiftlang:master Jun 25, 2020
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.

3 participants