Nate Cook
ff86a69dd7
Add a StdlibUnitTest modifier for requiring a stdlib version ( #79838 )
...
It would be great if this could also set the availability for the `code:`
block, but this at least cuts out some boilerplate.
2025-03-08 13:07:20 -06:00
Max Desiatov
a7142c896a
test/stdlib/UnsafeRawPointer.swift: disable crashing tests on WASI
2023-07-22 14:44:16 +01:00
Guillaume Lessard
e346e24e3f
[test] add an omitted test
2023-01-12 15:05:44 -08:00
Guillaume Lessard
480361b360
[test] move test to a file requiring the full stdlib
...
- SIMD types are not available in the minimal stdlib
2022-07-14 13:52:21 -06:00
Guillaume Lessard
9d1ca61bec
Update test/stdlib/UnsafeRawPointer.swift
2022-07-13 11:29:44 -06:00
Guillaume Lessard
8bb22f88fc
[test] unaligned loads of large, generic SIMD types
2022-07-12 14:50:48 -06:00
Guillaume Lessard
3971f28228
[test] make back-deployment testing possible
2022-04-18 16:27:08 -06:00
Guillaume Lessard
2e54373236
[test] Test new unaligned store behaviour
2022-04-18 10:44:06 -06:00
Guillaume Lessard
18622f518c
[test] new stdlib load/store behaviours
2022-04-15 16:31:49 -06:00
Guillaume Lessard
dd4b646651
[test] test SE-0334 additions
2022-02-25 13:35:20 -07:00
Guillaume Lessard
1161f92bd7
Merge pull request #39529 from glessard/se-withMemoryRebound
2022-02-05 09:01:05 -07:00
Guillaume Lessard
9f2c4b5959
[test] rebinding raw memory
2022-02-03 20:02:33 -07:00
Guillaume Lessard
2eb37a84fe
[gardening] fix warnings in tests
2022-02-03 20:02:33 -07:00
Max Desiatov
372ada0e24
test: add handling for Wasm/WASI ( #39519 )
...
This change adds support for WASI in stdlib tests. Some tests that expect a crash to happen had to be disabled, since there's currently no way to observe such crash from a WASI host.
2022-01-12 14:24:50 +00:00
Guillaume Lessard
d03cb6daa1
[test] move two tests from from stdlib to runtime
2021-07-29 17:04:47 -06:00
Guillaume Lessard
04d9473e6d
ensure test runs on 32-bit architectures too
...
(cherry picked from commit f28f492f93 )
2021-07-17 07:46:32 -06:00
Guillaume Lessard
a5feb1ab6b
detect failed allocations from posix_memalign
...
- `posix_memalign` doesn't touch its pointer-to-pointer parameter when it
fails, so `AlignedAlloc` ended up returning stack garbage in that case.
2021-07-15 19:17:14 -06:00
Arnold Schwaighofer
b31b7a9d8e
Remove some UNSUPPORTED swift_test_mode_optimize_none_with_implicit_dynamic
...
rdar://51228899
2019-05-31 08:45:37 -07:00
Arnold Schwaighofer
e113ef8c93
Add a mode to test implicit dynamic with private imports
2019-03-20 14:34:01 -07:00
taylor swift
c85880899d
implement SE 184: add allocation methods to Unsafe buffer pointers, drop all parameters from deallocation, adjust namings, and add repeated-value assignment methods
2017-11-17 21:28:03 -08:00
Ben Cohen
fefc2e40df
Migrate _copyContents to be called from UnsafeMutableBufferPointer with checks for overrun.
2017-01-05 11:59:49 -08:00
Max Moiseev
9fc37efee4
[test] renaming test/1_stdlib to just test/stdlib
2016-09-01 16:51:43 -07:00