Erik Eckstein
0830c36974
[tests] add import statements to prevent unresolved symbols when compiling StdlibUnittest with -sil-serialize-all.
...
This is the second part of 308f39fe56 .
It fixes (better: works-around) linker errors when testing in optimized mode.
2015-12-15 10:46:10 -08:00
Arsen Gasparyan
52890e5c30
Replace if true {} with do {}
2015-12-13 10:54:54 +03:00
Joe Groff
fbd2e4d872
Rename @asmname to @_silgen_name.
...
This reflects the fact that the attribute's only for compiler-internal use, and isn't really equivalent to C's asm attribute, since it doesn't change the calling convention to be C-compatible.
2015-11-17 14:13:48 -08:00
Dmitri Hrybenko
6536edd68c
stdlib: fix coding style
...
Swift SVN r32425
2015-10-03 21:13:15 +00:00
Dave Abrahams
8c855e1ecf
[stdlibunittest] automatic LifetimeTracked checking/setup
...
In setup and teardown, we can initialize and check for leaks
Swift SVN r29789
2015-06-29 20:45:50 +00:00
Dmitri Hrybenko
8387fc45b5
StdlibUnittest: add a facility to activate autorelease pools only on platforms that don't implement the return-autoreleased optimization
...
Swift SVN r29295
2015-06-04 09:06:16 +00:00
Arnold Schwaighofer
ee0a1d1a58
More executable tests in validation-test
...
Swift SVN r29279
2015-06-03 23:28:45 +00:00
Graham Batty
82242f67cf
Update flags for linux compat.
...
Swift SVN r26504
2015-03-24 23:16:57 +00:00
Dmitri Hrybenko
c421c51a42
StdlibUnittest: add facilities to replace NSLocale.currentLocale()
...
Will use this API to write tests for rdar://20171815.
Swift SVN r26391
2015-03-21 05:41:46 +00:00