Alexis Laferrière
81e465971c
Tests: un-xfail tests on the freestanding bot
2024-03-13 13:32:41 -07:00
Alexis Laferrière
841740e7ab
Tests: XFAIL a few tests on freestanding
...
rdar://121121793
2024-03-11 13:29:49 -07:00
Allan Shortlidge
ac464f3d15
Revert "Disable some Concurrency tests on freestanding"
...
This reverts commit a8e79e7430 .
2024-01-03 13:59:02 -08:00
Meghana Gupta
a8e79e7430
Disable some Concurrency tests on freestanding
2023-11-01 13:13:55 -07:00
Kavon Farvardin
7f3eb27cff
[test] add coverage for for-await over labelled tuples
...
this use to not work, so ensure we have test coverage.
rdar://88146597
2023-09-18 16:15:13 -07:00
Konrad `ktoso` Malawski
7c6b82df85
Unlock on Linux: async_taskgroup_is_asyncsequence.swift
...
rdar://74817164
2023-08-07 17:56:19 +09: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
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
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
Meghana Gupta
e980c4ea25
Un-XFAIL 2 Concurrency tests on Windows
2021-06-29 19:08:36 -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
ff7c98123a
[Test] Disabled several Concurrency tests for back_deployment_runtime.
...
rdar://76566598
2021-04-13 15:27:41 -07:00
Nate Chandler
4d56b62367
[Test] Marked flakey-on-linux tests unsupported.
2021-04-07 16:11:12 -07:00
Konrad `ktoso` Malawski
989db80b20
[Concurrency] fix a few missing @available annotations
2021-04-05 09:59:16 +09: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
Mike Ash
1173b737aa
[Concurrency] Add availability to Concurrency APIs.
...
This allows programs to target older OSes while using Concurrency behind an availability check. When targeting older OSes, the symbols are weak-linked and the compiler will require the use of Concurrency features to be guarded by an availability check.
rdar://75850003
2021-04-01 10:42:08 -04:00
Karoy Lorentey
24aca4072a
[test] Skip concurrency tests during back deployment testing
...
rdar://76038845
2021-03-30 22:35:38 -07:00
Dario Rexin
14ab1a233f
Cleanup after rebase
2021-03-04 09:37:59 -08:00
Konrad `ktoso` Malawski
eb8fc8c70f
[Concurrency] disable async_taskgroup_is_asyncsequence on windows
...
It seems this test not only has issues on Linux but also windows.
https://ci-external.swift.org/job/oss-swift-windows-x86_64-vs2019/4488/console
Disable for now, until we're able to fix it.
2021-02-27 11:13:20 +09:00
Konrad `ktoso` Malawski
163cb9efa0
[TaskGroup] temprorarily disable is async sequence test on linux
2021-02-26 17:54:03 +09:00
Konrad `ktoso` Malawski
de5fdcd2f8
[TaskGroup] fix missing retain in scheduling next() immediately on offer
2021-02-24 18:45:33 +09:00
Konrad `ktoso` Malawski
9a08475edf
[TaskGroup] for now require macOS on a few tests
2021-02-22 20:42:53 +09: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
12e2ba07b1
[Concurrency] Conform Task.Group to AsyncSequence
2021-02-22 13:26:33 +09:00