Alastair Houghton
a5b14d747f
[Tests][Concurrency] Turn off async_taskgroup test for back-deployment.
...
We don't want to run this test when back-deploying.
rdar://151975988
2025-06-12 18:30:42 +01:00
Konrad `ktoso` Malawski
3b570376d0
Disable test on watch async_taskgroup_next_on_pending.swift
2023-11-09 07:59:55 +09:00
Konrad `ktoso` Malawski
5ddc1a1653
Simplify test which is problematic on 32bit watch
2023-10-20 12:13:53 +09:00
Konrad `ktoso` Malawski
0cc31cabe2
reenable async_taskgroup_next_on_pending
2023-08-09 08:44:12 +09: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
Konrad `ktoso` Malawski
34f8e768b5
spawnDetached to detach, non-suspending group.spawn, spawnUnlessCancelled
2021-04-03 09:53:32 +09:00
Konrad `ktoso` Malawski
6e746304e1
[Concurrency] Update Task and Group APIs based on Review 1
2021-04-03 09:52:03 +09:00
Karoy Lorentey
24aca4072a
[test] Skip concurrency tests during back deployment testing
...
rdar://76038845
2021-03-30 22:35:38 -07:00
Mike Ash
3949569416
[Test] Temporarily disable Runtime.async_taskgroup_next_on_pending.swift.
...
It seems to be flakey and is hitting PR testing.
rdar://75096485
2021-03-05 13:41:14 -05:00
Dario Rexin
14ab1a233f
Cleanup after rebase
2021-03-04 09:37:59 -08:00
Dario Rexin
28ce3d97f9
Use async sleep in concurrency tests
2021-03-04 09:37:58 -08:00
Konrad `ktoso` Malawski
b33fae8656
import dispatch in tests, so they can run on linux as well
2021-02-22 13:26:38 +09:00
Konrad `ktoso` Malawski
999758cc85
[Concurrency][TaskGroup] allow cancelAll be invoked from child tasks
2021-02-22 13:26:33 +09:00
Konrad `ktoso` Malawski
b1e5c4a2c4
test cleanups, additional test to check we dont cancel other groups
2021-02-22 13:26:28 +09:00
swift-ci
d9e93a5672
Merge remote-tracking branch 'origin/main' into rebranch
2021-01-28 21:12:32 -08:00
Nate Chandler
798f86981f
[Test] Replaced runAsyncAndBlock with async @main.
...
The last outstanding usage is in
Concurrency/Runtime/checked_continuation.swift
2021-01-28 17:14:55 -08:00
Alexis Laferrière
66562cec0a
[Tests] Disable flaky async_taskground_next_on_* tests
2021-01-21 11:33:24 -08:00
Doug Gregor
3c38ffe0ea
[Concurrency] await try -> try await
...
The `try await` ordering is both easier to read and indicates the order
of operations better, because the suspension point occurs first and
then one can observe a thrown error.
2020-12-23 13:21:59 -08:00
Konrad `ktoso` Malawski
b267778bf1
Rebased to use new global executor
2020-12-17 06:05:13 +09:00
Konrad `ktoso` Malawski
7b37554096
[Concurrency] Initial TaskGroup implementation working
2020-12-17 06:05:13 +09:00