mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[validation-test] Splitting Arrays.swift.gyb into multiple files
In order to parallelize tests more and avoid a single long running bottleneck. <rdar://problem/30269532>
This commit is contained in:
18
validation-test/stdlib/ContiguousArray.swift.gyb
Normal file
18
validation-test/stdlib/ContiguousArray.swift.gyb
Normal file
@@ -0,0 +1,18 @@
|
||||
// RUN: %target-run-simple-swiftgyb
|
||||
// REQUIRES: executable_test
|
||||
|
||||
import StdlibUnittest
|
||||
import StdlibCollectionUnittest
|
||||
|
||||
% import os.path
|
||||
% import gyb
|
||||
% ArrayType = 'ContiguousArray'
|
||||
|
||||
var ${ArrayType}TestSuite = TestSuite("${ArrayType}")
|
||||
|
||||
% CommonTestsTemplate = gyb.parse_template(os.path.join(os.path.dirname(__file__), "Inputs/CommonArrayTests.gyb"))
|
||||
% CommonTests = gyb.execute_template(CommonTestsTemplate, Suite=ArrayType+'TestSuite', ArrayType=ArrayType)
|
||||
|
||||
${CommonTests}
|
||||
|
||||
runAllTests()
|
||||
Reference in New Issue
Block a user