Commit Graph

19 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
Kuba (Brecka) Mracek
7853184ed6 Enable running tests from test/Concurrency/ directory in freestanding/minimal presets (#61835)
* Enable running tests from test/Concurrency/ directory in freestanding/minimal presets

* Mark failing Concurrency tests as XFAIL/SKIP on freestanding/minimal
2022-11-04 09:07:27 -07:00
Saleem Abdulrasool
7f67dcb1f9 test: enable async/Distributed tests on Windows
These were previously disabled due to the UB that caused the tests to
fail.  Now that this has been fixed, restore these tests to running
state in line with the other targets.
2021-11-20 08:24:25 -08:00
Karoy Lorentey
47956908b7 [Concurrency] SwiftStdlib 5.5 ⟹ SwiftStdlib 5.1 (usages)
The concurrency runtime now deploys back to macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, which corresponds to the 5.1 release of the stdlib.

Adjust macro usages accordingly.
2021-10-28 14:36:36 -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
3f0bdff64d Re-enable test that should not be flaky now.
Addresses rdar://76274257.
2021-07-27 16:35:24 -07:00
Saleem Abdulrasool
bb1e5d76b0 Merge branch 'main' into dispatch-less 2021-07-27 13:44:57 -07:00
Doug Gregor
eeeea49764 Remove -enable-experimental-concurrency almost everywhere. 2021-07-26 21:24:43 -07:00
Saleem Abdulrasool
c9f567663e test: remove some %import-libdispatch usage in tests
These tests do not use the Dispatch swift module.  There is no need to
use the `%import-libdispatch` macro.  This is required to try to enable
these tests on Windows.
2021-07-26 17:56:27 -07:00
Doug Gregor
1e2012d816 Disable availability checking in tests that use concurrency 2021-07-20 12:46:26 -07:00
Meghana Gupta
670ca3716d Disable timing out test Concurrency/Runtime/async_task_yield.swift (#37700) 2021-05-28 20:38:27 -07:00
Alexis Laferrière
3310a55682 [Test] Use the SwiftStdlib 5.5 macro in Concurrency tests 2021-05-06 13:48:49 -07:00
Nate Chandler
30ea9324a5 [Test] Disabled two Concurrency tests for back deploy. 2021-04-20 12:50:39 -07:00
Daniel Rodríguez Troitiño
49be0b8829 [windows][test] Unsupport async_task_yield in OS=windows-msvc
The test crashes in both the VS2017 and VS2019 CI machines.

See https://bugs.swift.org/browse/SR-14333 for more of these problems.
2021-04-13 17:16:09 -07:00
Konrad `ktoso` Malawski
096bad3cf3 [Concurrency] unlock the yield test 2021-04-07 06:48:07 +09:00
Michael Gottesman
3e095ec2fc [build-wrangler] Disable broken test.
rdar://76274257
2021-04-06 10:48:19 -07:00
Konrad `ktoso` Malawski
057e156eea [Concurrency] tune back the yield test it isn't really testing much 2021-04-07 00:16:37 +09:00
Konrad `ktoso` Malawski
9949bf440d updated to latest Task APIs 2021-04-06 07:20:07 +09:00
Konrad `ktoso` Malawski
a180f532b5 [Concurrency] Simple Task.yield implementation 2021-04-05 16:59:00 +09:00