Skip to content

Commit 6e4792c

Browse files
committed
[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
1 parent 9e10ce0 commit 6e4792c

File tree

122 files changed

+245
-737
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

122 files changed

+245
-737
lines changed

validation-test/stdlib/Collection/DefaultedBidirectionalCollection.swift

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@
55
// Do Not Edit Directly!
66
//===----------------------------------------------------------------------===//
77

8-
// RUN: rm -rf %t
9-
// RUN: mkdir -p %t
10-
// RUN: %gyb %s -o %t/main.swift
11-
// RUN: %line-directive %t/main.swift -- %target-build-swift %t/main.swift -o %t/DefaultedBidirectionalCollection.swift.a.out
12-
// RUN: %line-directive %t/main.swift -- %target-run %t/DefaultedBidirectionalCollection.swift.a.out
8+
// RUN: %target-run-simple-swift
139
// REQUIRES: executable_test
1410

1511
import StdlibUnittest

validation-test/stdlib/Collection/DefaultedCollection.swift

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@
55
// Do Not Edit Directly!
66
//===----------------------------------------------------------------------===//
77

8-
// RUN: rm -rf %t
9-
// RUN: mkdir -p %t
10-
// RUN: %gyb %s -o %t/main.swift
11-
// RUN: %line-directive %t/main.swift -- %target-build-swift %t/main.swift -o %t/DefaultedCollection.swift.a.out
12-
// RUN: %line-directive %t/main.swift -- %target-run %t/DefaultedCollection.swift.a.out
8+
// RUN: %target-run-simple-swift
139
// REQUIRES: executable_test
1410

1511
import StdlibUnittest

validation-test/stdlib/Collection/DefaultedMutableBidirectionalCollection.swift

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@
55
// Do Not Edit Directly!
66
//===----------------------------------------------------------------------===//
77

8-
// RUN: rm -rf %t
9-
// RUN: mkdir -p %t
10-
// RUN: %gyb %s -o %t/main.swift
11-
// RUN: %line-directive %t/main.swift -- %target-build-swift %t/main.swift -o %t/DefaultedMutableBidirectionalCollection.swift.a.out
12-
// RUN: %line-directive %t/main.swift -- %target-run %t/DefaultedMutableBidirectionalCollection.swift.a.out
8+
// RUN: %target-run-simple-swift
139
// REQUIRES: executable_test
1410

1511
import StdlibUnittest

validation-test/stdlib/Collection/DefaultedMutableCollection.swift

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@
55
// Do Not Edit Directly!
66
//===----------------------------------------------------------------------===//
77

8-
// RUN: rm -rf %t
9-
// RUN: mkdir -p %t
10-
// RUN: %gyb %s -o %t/main.swift
11-
// RUN: %line-directive %t/main.swift -- %target-build-swift %t/main.swift -o %t/DefaultedMutableCollection.swift.a.out
12-
// RUN: %line-directive %t/main.swift -- %target-run %t/DefaultedMutableCollection.swift.a.out
8+
// RUN: %target-run-simple-swift
139
// REQUIRES: executable_test
1410

1511
import StdlibUnittest

validation-test/stdlib/Collection/DefaultedMutableRandomAccessCollection.swift

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@
55
// Do Not Edit Directly!
66
//===----------------------------------------------------------------------===//
77

8-
// RUN: rm -rf %t
9-
// RUN: mkdir -p %t
10-
// RUN: %gyb %s -o %t/main.swift
11-
// RUN: %line-directive %t/main.swift -- %target-build-swift %t/main.swift -o %t/DefaultedMutableRandomAccessCollection.swift.a.out
12-
// RUN: %line-directive %t/main.swift -- %target-run %t/DefaultedMutableRandomAccessCollection.swift.a.out
8+
// RUN: %target-run-simple-swift
139
// REQUIRES: executable_test
1410

1511
import StdlibUnittest

validation-test/stdlib/Collection/DefaultedMutableRangeReplaceableBidirectionalCollection.swift

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@
55
// Do Not Edit Directly!
66
//===----------------------------------------------------------------------===//
77

8-
// RUN: rm -rf %t
9-
// RUN: mkdir -p %t
10-
// RUN: %gyb %s -o %t/main.swift
11-
// RUN: %line-directive %t/main.swift -- %target-build-swift %t/main.swift -o %t/DefaultedMutableRangeReplaceableBidirectionalCollection.swift.a.out
12-
// RUN: %line-directive %t/main.swift -- %target-run %t/DefaultedMutableRangeReplaceableBidirectionalCollection.swift.a.out
8+
// RUN: %target-run-simple-swift
139
// REQUIRES: executable_test
1410

1511
import StdlibUnittest

validation-test/stdlib/Collection/DefaultedMutableRangeReplaceableCollection.swift

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@
55
// Do Not Edit Directly!
66
//===----------------------------------------------------------------------===//
77

8-
// RUN: rm -rf %t
9-
// RUN: mkdir -p %t
10-
// RUN: %gyb %s -o %t/main.swift
11-
// RUN: %line-directive %t/main.swift -- %target-build-swift %t/main.swift -o %t/DefaultedMutableRangeReplaceableCollection.swift.a.out
12-
// RUN: %line-directive %t/main.swift -- %target-run %t/DefaultedMutableRangeReplaceableCollection.swift.a.out
8+
// RUN: %target-run-simple-swift
139
// REQUIRES: executable_test
1410

1511
import StdlibUnittest

validation-test/stdlib/Collection/DefaultedMutableRangeReplaceableRandomAccessCollection.swift

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@
55
// Do Not Edit Directly!
66
//===----------------------------------------------------------------------===//
77

8-
// RUN: rm -rf %t
9-
// RUN: mkdir -p %t
10-
// RUN: %gyb %s -o %t/main.swift
11-
// RUN: %line-directive %t/main.swift -- %target-build-swift %t/main.swift -o %t/DefaultedMutableRangeReplaceableRandomAccessCollection.swift.a.out
12-
// RUN: %line-directive %t/main.swift -- %target-run %t/DefaultedMutableRangeReplaceableRandomAccessCollection.swift.a.out
8+
// RUN: %target-run-simple-swift
139
// REQUIRES: executable_test
1410

1511
import StdlibUnittest

validation-test/stdlib/Collection/DefaultedRandomAccessCollection.swift

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@
55
// Do Not Edit Directly!
66
//===----------------------------------------------------------------------===//
77

8-
// RUN: rm -rf %t
9-
// RUN: mkdir -p %t
10-
// RUN: %gyb %s -o %t/main.swift
11-
// RUN: %line-directive %t/main.swift -- %target-build-swift %t/main.swift -o %t/DefaultedRandomAccessCollection.swift.a.out
12-
// RUN: %line-directive %t/main.swift -- %target-run %t/DefaultedRandomAccessCollection.swift.a.out
8+
// RUN: %target-run-simple-swift
139
// REQUIRES: executable_test
1410

1511
import StdlibUnittest

validation-test/stdlib/Collection/DefaultedRangeReplaceableBidirectionalCollection.swift

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@
55
// Do Not Edit Directly!
66
//===----------------------------------------------------------------------===//
77

8-
// RUN: rm -rf %t
9-
// RUN: mkdir -p %t
10-
// RUN: %gyb %s -o %t/main.swift
11-
// RUN: %line-directive %t/main.swift -- %target-build-swift %t/main.swift -o %t/DefaultedRangeReplaceableBidirectionalCollection.swift.a.out
12-
// RUN: %line-directive %t/main.swift -- %target-run %t/DefaultedRangeReplaceableBidirectionalCollection.swift.a.out
8+
// RUN: %target-run-simple-swift
139
// REQUIRES: executable_test
1410

1511
import StdlibUnittest

0 commit comments

Comments
 (0)