Commit Graph

20 Commits

Author SHA1 Message Date
Allan Shortlidge
c02fc4724d Tests: Remove -disable-availability-checking from many Concurrency tests.
Instead, use the `%target-swift-5.1-abi-triple` substitution to compile the tests
for deployment to the minimum OS versions required for use of _Concurrency APIs.
2024-10-18 16:21:51 -07:00
Kavon Farvardin
c13402c1ce redisable flaky test 2023-09-19 10:03:33 -07:00
Kavon Farvardin
354d061946 re-enable executor_deinit1.swift
I put this test in originally XFAIL'd because the deinit for the actor was not being run before program exit. It was expected to run because it's not top-level code so there is a release of the object before returning from RunIt.main.

My guess is that the root cause of the original
bug of it not running the deinit was because of
the "executor stickiness" that was present in
Swift concurrency prior to SE-338. Today it
seems that this isn't an issue so we may as well
have this test back.

resolves rdar://77397981
resolves https://github.com/apple/swift/issues/56817
2023-08-11 10:09:08 -07:00
Anthony Latsis
2b6d7ea5f6 Gardening: Migrate test suite to GH issues: Concurrency 2022-08-13 03:55:01 +03:00
Ben Barham
c163e0fe5e [Tests] Make OS features consistent
lit.py currently allows any substring of `target_triple` to be used as a
feature in REQUIRES/UNSUPPORTED/XFAIL. This results in various forms of
the OS spread across the tests and is also somewhat confusing since they
aren't actually listed in the available features.

Modify all OS-related features to use the `OS=` version that Swift adds
instead. We can later remove `config.target_triple` so that these don't
the non-OS versions don't work in the first place.
2022-05-20 19:51:23 -07:00
Doug Gregor
3ee09a2298 Switch concurrency runtime tests to "REQUIRES: concurrency_runtime"
Rather than blanket-disabling concurrency tests when we aren't using a
just-built concurrency library, enable them whenever we have a
suitable concurrency runtime, either just-built, in the OS, or via the
back-deployment libraries.
2021-09-13 12:34:20 -07:00
Doug Gregor
eeeea49764 Remove -enable-experimental-concurrency almost everywhere. 2021-07-26 21:24:43 -07:00
Doug Gregor
1e2012d816 Disable availability checking in tests that use concurrency 2021-07-20 12:46:26 -07:00
Ben Langmuir
e104815628 Disable test/Concurrency/Runtime/executor_deinit1.swift
Failed in CI; disable until we can figure out what is going on.

rdar://78325660
2021-05-21 13:39:47 -07:00
Arnold Schwaighofer
a7130cc4bf Re-enable executor_deinit1.swift test case
rdar://77658743
2021-05-19 14:11:12 -07:00
Arnold Schwaighofer
970034441a Disable executor_deinit1.swift test in optimized mode
It fails on some bots.

rdar://77658743
2021-05-07 09:17:00 -07:00
Joe Groff
cd6823f83b Reenable test/Concurrency/Runtime/executor_deinit1.swift on iOS simulator.
The failure no longer reproduces. rdar://76611676
2021-04-27 14:30:47 -07:00
swift-ci
24bed82e19 Merge pull request #36898 from nate-chandler/wrangle/76611676 2021-04-13 19:37:18 -07:00
Nate Chandler
03678af9d3 [Test] Disabled Concurrency/Runtime/executor_deinit1.swift on iphonesimulator-x86_64.
rdar://76611676
2021-04-13 16:46:21 -07:00
Nate Chandler
ff7c98123a [Test] Disabled several Concurrency tests for back_deployment_runtime.
rdar://76566598
2021-04-13 15:27:41 -07:00
Nate Chandler
ffff66d376 [Test] Disable tests that require new libswiftCore features for back deploy.
rdar://76564535
2021-04-12 16:45:09 -07:00
Holly Borla
11496e2c4c [NFC] Add bugs.swift.org links to disabled tests to track re-enabling. 2021-04-08 23:04:51 -07:00
Holly Borla
e6e716a44a [Test] Disable a few failing tests on linux. 2021-04-08 22:57:01 -07:00
Joe Groff
5119584dbd Un-XFAIL test that was failing because of syntax error 2021-04-06 12:43:28 -07:00
Kavon Farvardin
93f017b1a5 adding one XFAIL'ed task & actor lifetime test
The `executor_deinit1` test fails 100% of the time
(from what I've seen) so I thought we could track
and see when/if someone happens to fix this bug.

Also, added extra coverage for #36298 via `executor_deinit2`
2021-03-09 14:47:36 -08:00