Commit Graph

15 Commits

Author SHA1 Message Date
Chris Lattner
87db7b4cf2 update validation tests to modern syntax. 2016-07-02 17:10:49 -07:00
Rintaro Ishizaki
5c991e7e35 [validation-test] Remove -sil-serialize-all workaround from Collection and Slice tests
This workaround is not required since 49c54870c1
2016-06-20 11:32:46 +09:00
Dmitri Gribenko
efc351f69d Merge pull request #3011 from rintaro/tests-target-simple-run-swiftgyb
[test] Add %target-run-simple-swiftgyb substitution
2016-06-14 22:43:48 -07:00
rintaro ishizaki
4b51d85abb [test] Add %target-run-simple-swiftgyb
* Utilize %target-run-simple-swiftgyb where possible
2016-06-15 11:49:44 +09:00
rintaro ishizaki
6e4792cb5b [test] Adjust validation-test/stdlib/{Collection, Slice}
* utils/split_file.py compatible Inputs/Template.swift.gyb
* Result scripts can be ran by %target-run-simple-swift, not GYB
* Renamed stdlib/Slice/*.swift.gyb to stdlib/Slice/*.swift
2016-06-15 11:49:43 +09:00
rintaro ishizaki
2addf475b5 [test] Add instruction for generating validation-test/stdlib/{Collection,Slice} tests
Using utils/gyb and utils/split_file.py
2016-06-14 19:50:39 +09:00
Rintaro Ishizaki
1bdce7ced6 [lit] Add substitutions: %utils and %line-directive
%utils => ${SWIFT_SOURCE_DIR}/utils
%line-directive => ${SWIFT_SOURCE_DIR}/utils/line-directive
2016-06-11 02:41:15 +09:00
Dmitri Gribenko
b7984be446 stdlib: always check that IteratorProtocol.next() repeatedly returns nil
This is required by SE-0052.
2016-05-15 23:55:48 -07:00
Dmitri Gribenko
b6447d119c Merge pull request #2346 from austinzheng/validation-tests
Improving LazyFilterCollection tests with random data
2016-05-02 17:55:29 -07:00
Dave Abrahams
93dfc16626 [stdlib] More reliably avoid running duplicate tests
Removing the “checksAdded” parameter from collection unit tests and
simply sharing a global variable is a better way to go.  We don't
use threads at that level, so there's no thread safety issue, and we
already committed to globals when we introduced the logging wrappers.
2016-05-02 15:30:29 -07:00
Austin Zheng
706510febc Improving LazyFilterCollection tests with random data 2016-04-29 13:37:22 -07:00
Austin Zheng
e9c1db2c2d Completing LazyFilterCollections, adding tests for LazyFilterCollection
Changes:
- Added proper LazyFilterBidirectionalCollection support
- Added tests for LazyFilterCollection variants
2016-04-29 00:50:15 -07:00
Austin Zheng
e034946b45 Fixing index(where:) API test
Changes:
- Fixed a bug in the collection unit test exercising the index(where:) API
- Reenabled relevant LazyMapCollection tests
2016-04-28 20:04:39 -07:00
Austin Zheng
0e22ef62af Adding validation tests for LazyMapCollection 2016-04-28 15:32:06 -07:00
Dmitri Gribenko
37c4d70eb9 Split collection tests for better parallelism 2016-04-01 14:14:56 -07:00