Skip to content

Commit cc8acdc

Browse files
committed
[Tests] Fix REQUIRES for two tests
The non-gyb type checker performance tests tend to require non-assert and release builds. This makes two tests consistent with the others. This also fixes sr139.swift, which was needlessly running the type checker twice.
1 parent e9b0e8f commit cc8acdc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

validation-test/Sema/type_checker_perf/fast/sr139.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %target-typecheck-verify-swift
2-
// RUN: %target-swift-frontend -typecheck %s
2+
// REQUIRES: tools-release,no_asserts
33

44
// SR-139:
55
// Infinite recursion parsing bitwise operators

validation-test/Sema/type_checker_perf/slow/rdar46713933.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// RUN: %target-typecheck-verify-swift
2+
// REQUIRES: tools-release,no_asserts
23

34
func wrap<T>(_ key: String, _ value: T) -> T { return value }
45
func wrap<T: ExpressibleByIntegerLiteral>(_ key: String, _ value: T) -> T { return value }

0 commit comments

Comments
 (0)