Guillaume Lessard
72f4e65eba
[test] assumingMemoryBound on raw memory buffers
2022-02-03 20:02:33 -07:00
Guillaume Lessard
9f2c4b5959
[test] rebinding raw memory
2022-02-03 20:02:33 -07:00
Guillaume Lessard
69aa3c36bc
[test] rebinding typed memory to wider and narrower types
2022-02-03 20:02:33 -07:00
Alejandro Alonso
54ff7cfa2c
Add availability around the indic sequence tests
2022-01-18 22:17:07 -08:00
Alejandro Alonso
4a451829f8
Implement the Indic grapheme breaking rules
2022-01-05 16:18:54 -08:00
Alejandro Alonso
27ec10e8da
Merge pull request #40181 from Azoy/testing-unicode-scalar-props
...
[test][stdlib] Beef up Unicode.Scalar.Properties testing
2021-12-21 23:06:41 -08:00
Kuba (Brecka) Mracek
663a6fb771
Introduce SWIFT_STDLIB_HAS_TYPE_PRINTING flag to remove the ability to print types at runtime (to save codesize) ( #40649 )
2021-12-21 17:47:54 -08:00
Alejandro Alonso
12d2e8f72d
Mark UnicodeScalarProperties Darwin only for right now
2021-12-21 02:13:56 -08:00
Alejandro Alonso
edc5d88d17
Test the rest of the scalar properties
...
oops forgot to put this back in and 5.6
2021-12-20 15:15:07 -08:00
Alejandro Alonso
b9b4e7516b
Beef up Unicode.Scalar.Properties testing for binary properties
2021-12-14 21:02:55 -08:00
Alejandro Alonso
90aa299bc2
Reenable some stdlib long_test
2021-12-14 12:29:33 -08:00
swift-ci
a77f161ec9
Merge pull request #38341 from 3405691582/FoundationInterop
2021-12-12 18:41:01 -08:00
Erik Eckstein
1eca11dc28
tests: disable StringMemoryTest.swift, which fails with ASAN
...
rdar://85913190
2021-12-03 14:56:22 +01:00
Alejandro Alonso
2ab99418e2
Disable another a test ( #40376 )
2021-12-02 20:34:52 -08:00
Alex Hoppen
290df69412
Merge pull request #40344 from apple/more-backdeployment-trouble
...
[test] Fix back deployment for tests looking at exclusivity checking
2021-12-01 10:40:54 +01:00
Alejandro Alonso
7db88b2257
Disable some failing tests ( #40338 )
...
change to requires
2021-11-30 19:03:44 -08:00
Karoy Lorentey
83fee79056
[test] rdar://85620934 Fix back deployment vs exclusivity checking tests
2021-11-30 17:29:10 -08:00
Karoy Lorentey
f2132728b7
Merge pull request #40125 from apple/Set-test-cleanup
...
[test] Remove duplicate symmetricDifference tests
2021-11-11 19:42:35 -08:00
Karoy Lorentey
41c452804c
Merge pull request #40134 from lorentey/fix-excl-tests-with-backdeployed-runtime
...
[test] Fix expected error message with backdeployed runtimes
2021-11-11 19:42:20 -08:00
Karoy Lorentey
bb36a87205
Update hasBackdeployedConcurrencyRuntime logic
2021-11-11 13:44:41 -08:00
Guillaume Lessard
8cc076000a
Merge pull request #40116 from glessard/concurrency-assertions
...
[stdlib] replace uses of assert in the Concurrency module
2021-11-11 09:50:20 -07:00
Karoy Lorentey
4c28e823ef
[test] Fix expected error message with backdeployed runtimes
2021-11-10 18:27:04 -08:00
Guillaume Lessard
71f2d8e12d
[test] disambiguate _internalInvariant
...
This test disables access controls, and it mistakenly used the Concurrency module's version of `_internalInvarant` instead of the Standard Library's version.
2021-11-10 11:59:04 -07:00
Karoy Lorentey
16d7525713
[test] Remove duplicate symmetricDifference tests
2021-11-09 21:39:03 -08:00
Alejandro Alonso
98feb5e6ec
Add availability to a few new tests ( #40048 )
...
its available, not availabile
2021-11-05 16:01:19 -07:00
Karoy Lorentey
6d33683c15
Merge pull request #40012 from lorentey/set-on-fire2
...
[stdlib] Optimize high-level Set operations
2021-11-05 13:48:40 -07:00
Karoy Lorentey
172b1b8502
[test] Fix error in non-Darwin builds
2021-11-03 11:59:58 -07:00
Karoy Lorentey
5f65686cfc
[test] Replace some more 9999 availabilities with SwiftStdlib 5.6
2021-11-02 20:43:35 -07:00
Karoy Lorentey
8e4b53b5ad
[stdlib][test] Add a bit more extensive tests for high-level set operations
2021-11-02 19:35:22 -07:00
Karoy Lorentey
e2cfab4f28
[stdlib][test] Adopt availability macros in tests
2021-10-31 15:00:58 -07:00
Kuba (Brecka) Mracek
c2c1bfb053
Add SWIFT_STDLIB_HAS_ENVIRON to remove usage of getenv/environ from stdlib ( #39599 )
2021-10-12 07:16:36 -07:00
Alejandro Alonso
88bf2108a8
Mark CharacterPropertiesLong as long_test ( #39437 )
2021-09-24 03:08:40 -07:00
Alejandro Alonso
12b9566f7b
Add availability around new Unicode test ( #39250 )
2021-09-13 13:33:24 -07:00
Kuba (Brecka) Mracek
8b189d99e4
Turn off SWIFT_ENABLE_REFLECTION on the stdlib_minimal preset ( #39030 )
2021-09-12 18:54:53 -07:00
Guillaume Lessard
6b219a9c56
[stdlib] fix another accidental infinite-recursion bug ( #38950 )
...
fixes: SR-6501, SR-11516
2021-08-23 11:06:27 -04:00
Alejandro Alonso
b651278616
Fix a crash on Scalar init with negative numbers ( #38829 )
2021-08-12 11:42:54 -07:00
Guillaume Lessard
92335b115a
Merge pull request #38677 from glessard/sr14491-v1
...
[stdlib] fast path for UMBP.initialize<C>(from: C) when C is a Slice
2021-08-03 11:28:32 -06:00
Guillaume Lessard
23bed3118b
[test] test UnsafeMutableBufferPointer.initialize(from: Slice<_>)
2021-07-28 14:32:57 -06:00
Guillaume Lessard
0ea4e3c4d9
[stdlib] add availability annotations and tests
2021-07-21 09:20:12 -06:00
Guillaume Lessard
3789ce292a
[stdlib] fix an accidental recursion bug involving MutableCollection
...
- add a default implementation of MutableCollection’s
subscript(bounds: Range<_>) with the most general signature possible
- it is marked unavailable in order to prevent the
infinite recursion bug reported in SR-14848
- add a conditionally-available subscript(bounds: Range<_>) -> Slice<Self>
only when Subsequence is Slice<Self>. This will supersede
the unconditional extension that provides the same signature.
2021-07-20 16:11:23 -06:00
Guillaume Lessard
473b5737d4
[test] add a definition that shouldn't compile
2021-07-20 13:25:55 -06:00
3405691582
ac9640b00a
[stdlib] Changes to support Foundation on OpenBSD.
...
* Not implementing POSIXError for a given platform is not a blocking
problem to getting a successful build of Swift. However, it is
part of the validation tests (albeit locked behind REQUIRES) and is
referenced when building Foundation. Implement by forklifting from
`sys/errno.h`.
* Some Foundation class implementations require some missing includes in
the platform modulemap. Add these.
2021-07-09 18:55:51 -04:00
Guillaume Lessard
6053c47f6d
Merge pull request #38161 from glessard/sr14848
...
[stdlib] fix an accidental recursion bug involving Collection
2021-07-01 07:58:53 -06:00
Guillaume Lessard
7d6260560e
[stdlib] fix an accidental recursion bug involving Collection
...
- adds a default implementation of Collection’s subscript(bounds: Range<_>)
with the most general signature possible
- it is marked unavailable in order to prevent the
infinite recursion bug reported in SR-14848
- Collections whose SubSequence is Slice<Self> still get the proper default, as intended.
2021-06-30 21:58:48 -06:00
Mishal Shah
f51923dd8f
Merge pull request #37978 from lorentey/postprocess-stress-tests
...
[test] Add missing postprocessing phase to executable stress tests
2021-06-23 10:51:44 -07:00
Varun Gandhi
c53d0eb273
Temporarily mark ArraysObjc test unsupported for watchsimulator-i386.
...
Earlier, I accidentally marked Arrays.swift.gyb, however the test that
is failing is ArraysObjc.swift.gyb.
2021-06-22 16:16:05 -07:00
Varun Gandhi
9e707e1f40
Revert "Temporarily mark test unsupported for watchsimulator-i386."
...
This reverts commit dab1254dea .
2021-06-22 16:15:01 -07:00
Varun Gandhi
3368d9c597
Merge pull request #38032 from varungandhi-apple/vg-dont-watch-arrays
...
Temporarily mark test unsupported for watchsimulator-i386.
2021-06-22 12:23:18 -07:00
Varun Gandhi
dab1254dea
Temporarily mark test unsupported for watchsimulator-i386.
2021-06-22 12:20:07 -07:00
Karoy Lorentey
4c12217157
[test] Add missing postprocessing phase to executable stress tests
...
We need to run utils/swift-darwin-postprocess.py on every executable test on Darwin platforms to work around a dyld issue. (And to ad-hoc sign executables on platforms that need it.)
Add a %target-codesign step to stress tests that are currently missing it.
2021-06-17 13:35:21 -07:00