forked from swiftlang/swift
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Testing] NFC: Make BoxingCasts test concurrent
This test is the slowest test on my machine.
- Loading branch information
1 parent
ce587f0
commit 716e38c
Showing
5 changed files
with
56 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// RUN: %empty-directory(%t) | ||
// | ||
// RUN: %gyb %S/Inputs/BoxingCasts.swift.gyb -o %t/BoxingCasts.swift | ||
// | ||
// RUN: %line-directive %t/BoxingCasts.swift -- %target-build-swift -g -O -module-name a -O -swift-version 4 %t/BoxingCasts.swift -o %t/a.swift4.O.out | ||
// RUN: %target-codesign %t/a.swift4.O.out | ||
// RUN: %line-directive %t/BoxingCasts.swift -- %target-run %t/a.swift4.O.out | ||
// | ||
// Note: The RUN directives above override the default test optimizations. | ||
// These tests are deliberately run both ways: | ||
// * optimized to verify compiler cast optimizations, and | ||
// * non-optimized to verify the runtime methods used for non-optimized casts. | ||
// | ||
// REQUIRES: executable_test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// RUN: %empty-directory(%t) | ||
// | ||
// RUN: %gyb %S/Inputs/BoxingCasts.swift.gyb -o %t/BoxingCasts.swift | ||
// | ||
// RUN: %line-directive %t/BoxingCasts.swift -- %target-build-swift -g -module-name a -Onone -swift-version 4 %t/BoxingCasts.swift -o %t/a.swift4.Onone.out | ||
// RUN: %target-codesign %t/a.swift4.Onone.out | ||
// RUN: %line-directive %t/BoxingCasts.swift -- %target-run %t/a.swift4.Onone.out | ||
// | ||
// Note: The RUN directives above override the default test optimizations. | ||
// These tests are deliberately run both ways: | ||
// * optimized to verify compiler cast optimizations, and | ||
// * non-optimized to verify the runtime methods used for non-optimized casts. | ||
// | ||
// REQUIRES: executable_test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// RUN: %empty-directory(%t) | ||
// | ||
// RUN: %gyb %S/Inputs/BoxingCasts.swift.gyb -o %t/BoxingCasts.swift | ||
// | ||
// RUN: %line-directive %t/BoxingCasts.swift -- %target-build-swift -g -O -module-name a -O -swift-version 5 %t/BoxingCasts.swift -o %t/a.swift5.O.out | ||
// RUN: %target-codesign %t/a.swift5.O.out | ||
// RUN: %line-directive %t/BoxingCasts.swift -- %target-run %t/a.swift5.O.out | ||
// | ||
// Note: The RUN directives above override the default test optimizations. | ||
// These tests are deliberately run both ways: | ||
// * optimized to verify compiler cast optimizations, and | ||
// * non-optimized to verify the runtime methods used for non-optimized casts. | ||
// | ||
// REQUIRES: executable_test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// RUN: %empty-directory(%t) | ||
// | ||
// RUN: %gyb %S/Inputs/BoxingCasts.swift.gyb -o %t/BoxingCasts.swift | ||
// | ||
// RUN: %line-directive %t/BoxingCasts.swift -- %target-build-swift -g -module-name a -Onone -swift-version 5 %t/BoxingCasts.swift -o %t/a.swift5.Onone.out | ||
// RUN: %target-codesign %t/a.swift5.Onone.out | ||
// RUN: %line-directive %t/BoxingCasts.swift -- %target-run %t/a.swift5.Onone.out | ||
// | ||
// Note: The RUN directives above override the default test optimizations. | ||
// These tests are deliberately run both ways: | ||
// * optimized to verify compiler cast optimizations, and | ||
// * non-optimized to verify the runtime methods used for non-optimized casts. | ||
// | ||
// REQUIRES: executable_test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters