Commit Graph

14 Commits

Author SHA1 Message Date
Saleem Abdulrasool 1c41c0887c validation-test: adjust stdlib tests for Windows
The embedded shell script in the RUN command for lit is problematic for
non-sh shell environments (i.e. Windows).  This adjusts the tests to
uniformly build the code for the ObjC runtime.  However, the Objective-C
code is only built under the same circumstances that it is currently
enabled - the availability of the needed frameworks.  The empty object
on other runtimes will have no material impact.  The swift side of it
checks whether the runtime is built with ObjC interop.  This allows us
to largely use the same command line for all the targets.  The last
missing piece is that the `-fobjc-runtime` requires that we run a modern
ObjC runtime.  We enable this unconditionally in lit for the non-Apple
targets.

This improves the validation test coverage for the standard library on
Windows.
2019-06-03 08:36:22 -07:00
Jordan Rose a628d5d76a Mark another thorough String test as requiring an optimized stdlib (#21835)
This one's taking a pretty long time on simulators, only sometimes
making it under the timeout limit.
2019-01-15 15:37:31 -08:00
Pavel Yaskevich e25d7b3c32 [TypeChecker] NFC: Workaround "expression too complex" in StringNormalization test
Resolves: rdar://problem/47149976
Resolves: rdar://problem/46830020
2019-01-11 11:46:16 -08:00
Lance Parker 15aaa1e777 [stdlib]String normalization functions (#21026)
* fast/foreignNormalize functions
2019-01-08 13:55:29 -08:00
Lance Parker 407a3fc34f Put the requires back in its place 2018-12-05 11:42:22 -08:00
Lance Parker f051d6b9e4 added an opaque flavor of the normalization tests 2018-12-05 11:42:22 -08:00
Lance Parker 135476d594 These tests require unicode 11 2018-12-04 11:25:04 -08:00
Lance Parker 24e6a590b8 remove unecessary change to RUN: line 2018-11-29 15:32:17 -08:00
Lance Parker dd700641d2 Add tests for normalizing random unicode strings 2018-11-29 14:53:01 -08:00
Michael Ilseman 948655e850 [String] Cleanups, comments, documentation
After rebasing on master and incorporating more 32-bit support,
perform a bunch of cleanup, documentation updates, comments, move code
back to String declaration, etc.
2018-11-04 10:42:42 -08:00
Karoy Lorentey 40aae6b235 [String] 32-bit platform support
Add support for 32-bit platforms for UTF-8 backed String.
2018-11-04 10:42:41 -08:00
Michael Ilseman 9b5eb23de3 [test] Fix test: add in explicit mkdir 2018-11-04 10:42:41 -08:00
Lance Parker bacc7eecd5 fix the normalization unit tests 2018-11-04 10:42:41 -08:00
Lance Parker 7376009ccc Add benchmarks and tests for the normalized iterator (#32)
Add benchmarks and tests for the normalized iterator
2018-11-04 10:42:41 -08:00