Commit Graph

14 Commits

Author SHA1 Message Date
Allan Shortlidge
cb578172ea Tests: Remove -disable-availability-checking in more tests that use concurrency.
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,
instead of disabling availability checking.
2024-10-19 12:35:20 -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
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
Evan Wilde
51a36a6455 Move test/IRGen/async/throwing.swift to async-main
This patch migrates this test off of using runAsyncAndBlock so that we
can eventually delete that function.
2021-04-14 15:04:56 -07:00
Nate Chandler
ff7c98123a [Test] Disabled several Concurrency tests for back_deployment_runtime.
rdar://76566598
2021-04-13 15:27:41 -07:00
Arnold Schwaighofer
8e1d25b9f9 IRGen: Fix async throw emission for indirect direct values
rdar://76009728
2021-04-01 07:22:13 -07:00
Karoy Lorentey
0934763eaa [test] Disable some concurrency tests on Windows
https://bugs.swift.org/browse/SR-14333
2021-03-30 19:42:45 -07:00
Daniel Rodríguez Troitiño
5a2dd89730 [windows][test] Mark more concurrency tests as UNSUPPORTED in VS2017
The VS2017 started to succeed while executing
test/IRGen/async/throwing.swift, but it is marked as XFAIL for
OS=windows-msvc. To avoid failing the test in VS2019, only mark it as
unsupported in MSVC_VER=15.0 (VS2017), which will avoid running the
test.

`async_task_detached.swift` seems to fail with an `ACCESS_VIOLATION`
exit status, but seems to pass in VS2019, so also mark it as
`UNSUPPORTED` for VS2017 only.

All these problems are tracked in SR-14333.
2021-03-29 17:29:40 -07:00
Arnold Schwaighofer
5f96635188 OS=windows does not seem to do it 2021-03-11 09:54:07 -08:00
Arnold Schwaighofer
8c4278f33f Disable failing concurrency tests on windows
SR-14333
2021-03-11 08:05:36 -08:00
Nate Chandler
9aced92dd6 [Test] Added -g to IRGen/async test invocations.
Emitting the debug info exercises more functionality.
2021-03-08 14:43:16 -08:00
Nate Chandler
e2a8abc9e5 [Async CC] Make error indirect.
Previously, the error stored in the async context was of type SwiftError
*.  In order to enable the context to be callee released, make it
indirect and change its type to SwiftError **.

rdar://71378532
2021-02-11 11:34:47 -08:00