Commit Graph

2 Commits

Author SHA1 Message Date
Mike Ash
e0d0af83d7 [Test] Make allocator_sanity.swift more robust on 32-bit.
This test attempts to allocate Int.max bytes and asserts that it crashes. However, this can actually succeed in (some) 32-bit environments, since Int.max is only 2^32-1 bytes there. This causes spurious test failures. Ensure the test crashes by making two gargantuan allocations.

rdar://91687691
2022-04-13 11:19:32 -04:00
Guillaume Lessard
d03cb6daa1 [test] move two tests from from stdlib to runtime 2021-07-29 17:04:47 -06:00