Skip to content

Commit acf94f9

Browse files
author
Lance Parker
committed
Add -Onone to all the _Debug tests
1 parent 5d213e2 commit acf94f9

14 files changed

+14
-14
lines changed

test/stdlib/CharacterTraps.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %empty-directory(%t)
2-
// RUN: %target-build-swift %s -o %t/a.out_Debug
2+
// RUN: %target-build-swift %s -o %t/a.out_Debug -Onone
33
// RUN: %target-build-swift %s -o %t/a.out_Release -O
44
//
55
// RUN: %target-run %t/a.out_Debug

test/stdlib/DictionaryTraps.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %empty-directory(%t)
2-
// RUN: %target-build-swift %s -o %t/a.out_Debug
2+
// RUN: %target-build-swift %s -o %t/a.out_Debug -Onone
33
// RUN: %target-build-swift %s -o %t/a.out_Release -O
44
//
55
// RUN: %target-run %t/a.out_Debug

test/stdlib/IntervalTraps.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212
// RUN: %empty-directory(%t)
13-
// RUN: %target-build-swift %s -o %t/a.out_Debug
13+
// RUN: %target-build-swift %s -o %t/a.out_Debug -Onone
1414
// RUN: %target-build-swift %s -o %t/a.out_Release -O
1515
//
1616
// RUN: %target-run %t/a.out_Debug

test/stdlib/RangeTraps.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212
// RUN: %empty-directory(%t)
13-
// RUN: %target-build-swift %s -o %t/a.out_Debug
13+
// RUN: %target-build-swift %s -o %t/a.out_Debug -Onone
1414
// RUN: %target-build-swift %s -o %t/a.out_Release -O
1515
//
1616
// RUN: %target-run %t/a.out_Debug

test/stdlib/SetTraps.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %empty-directory(%t)
2-
// RUN: %target-build-swift %s -o %t/a.out_Debug
2+
// RUN: %target-build-swift %s -o %t/a.out_Debug -Onone
33
// RUN: %target-build-swift %s -o %t/a.out_Release -O
44
//
55
// RUN: %target-run %t/a.out_Debug

test/stdlib/SetTrapsObjC.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %empty-directory(%t)
2-
// RUN: %target-build-swift %s -o %t/a.out_Debug
2+
// RUN: %target-build-swift %s -o %t/a.out_Debug -Onone
33
// RUN: %target-build-swift %s -o %t/a.out_Release -O
44
//
55
// RUN: %target-run %t/a.out_Debug

test/stdlib/StringTraps.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %empty-directory(%t)
2-
// RUN: %target-build-swift %s -o %t/a.out_Debug
2+
// RUN: %target-build-swift %s -o %t/a.out_Debug -Onone
33
// RUN: %target-build-swift %s -o %t/a.out_Release -O
44
//
55
// RUN: %target-run %t/a.out_Debug

validation-test/stdlib/ArrayTraps.swift.gyb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// RUN: %empty-directory(%t)
22
// RUN: %gyb %s -o %t/ArrayTraps.swift
3-
// RUN: %line-directive %t/ArrayTraps.swift -- %target-build-swift %t/ArrayTraps.swift -o %t/a.out_Debug
3+
// RUN: %line-directive %t/ArrayTraps.swift -- %target-build-swift %t/ArrayTraps.swift -o %t/a.out_Debug -Onone
44
// RUN: %line-directive %t/ArrayTraps.swift -- %target-build-swift %t/ArrayTraps.swift -o %t/a.out_Release -O
55
//
66
// RUN: %line-directive %t/ArrayTraps.swift -- %target-run %t/a.out_Debug

validation-test/stdlib/ArrayTrapsObjC.swift.gyb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// RUN: %empty-directory(%t)
22
// RUN: %gyb %s -o %t/ArrayTraps.swift
3-
// RUN: %line-directive %t/ArrayTraps.swift -- %target-build-swift %t/ArrayTraps.swift -o %t/a.out_Debug
3+
// RUN: %line-directive %t/ArrayTraps.swift -- %target-build-swift %t/ArrayTraps.swift -o %t/a.out_Debug -Onone
44
// RUN: %line-directive %t/ArrayTraps.swift -- %target-build-swift %t/ArrayTraps.swift -o %t/a.out_Release -O
55
//
66
// RUN: %line-directive %t/ArrayTraps.swift -- %target-run %t/a.out_Debug

validation-test/stdlib/Assert.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %empty-directory(%t)
2-
// RUN: %target-build-swift %s -Xfrontend -disable-access-control -o %t/Assert_Debug
2+
// RUN: %target-build-swift %s -Xfrontend -disable-access-control -o %t/Assert_Debug -Onone
33
// RUN: %target-build-swift %s -Xfrontend -disable-access-control -o %t/Assert_Release -O
44
// RUN: %target-build-swift %s -Xfrontend -disable-access-control -o %t/Assert_Unchecked -Ounchecked
55
//

validation-test/stdlib/DictionaryTrapsObjC.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %empty-directory(%t)
2-
// RUN: %target-build-swift %s -o %t/a.out_Debug
2+
// RUN: %target-build-swift %s -o %t/a.out_Debug -Onone
33
// RUN: %target-build-swift %s -o %t/a.out_Release -O
44
//
55
// RUN: %target-run %t/a.out_Debug

validation-test/stdlib/FixedPointArithmeticTraps.swift.gyb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// RUN: %empty-directory(%t)
22
// RUN: %gyb %s -o %t/FixedPointArithmeticTraps.swift
3-
// RUN: %line-directive %t/FixedPointArithmeticTraps.swift -- %target-build-swift %t/FixedPointArithmeticTraps.swift -o %t/a.out_Debug
3+
// RUN: %line-directive %t/FixedPointArithmeticTraps.swift -- %target-build-swift %t/FixedPointArithmeticTraps.swift -o %t/a.out_Debug -Onone
44
// RUN: %line-directive %t/FixedPointArithmeticTraps.swift -- %target-build-swift %t/FixedPointArithmeticTraps.swift -o %t/a.out_Release -O
55
//
66
// RUN: %line-directive %t/FixedPointArithmeticTraps.swift -- %target-run %t/a.out_Debug

validation-test/stdlib/FixedPointConversion.swift.gyb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// RUN: %empty-directory(%t)
22
// RUN: %S/../../utils/gyb %s -o %t/FixedPointConversion.swift
3-
// RUN: %S/../../utils/line-directive %t/FixedPointConversion.swift -- %target-build-swift %t/FixedPointConversion.swift -o %t/a.out_Debug
3+
// RUN: %S/../../utils/line-directive %t/FixedPointConversion.swift -- %target-build-swift %t/FixedPointConversion.swift -o %t/a.out_Debug -Onone
44
// RUN: %S/../../utils/line-directive %t/FixedPointConversion.swift -- %target-build-swift %t/FixedPointConversion.swift -o %t/a.out_Release -O
55
//
66
// RUN: %S/../../utils/line-directive %t/FixedPointConversion.swift -- %target-run %t/a.out_Debug

validation-test/stdlib/FloatingPointConversion.swift.gyb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// RUN: %empty-directory(%t)
22
// RUN: %gyb %s -o %t/FloatingPointConversion.swift
3-
// RUN: %line-directive %t/FloatingPointConversion.swift -- %target-build-swift %t/FloatingPointConversion.swift -Xfrontend -disable-access-control -o %t/a.out_Debug
3+
// RUN: %line-directive %t/FloatingPointConversion.swift -- %target-build-swift %t/FloatingPointConversion.swift -Xfrontend -disable-access-control -o %t/a.out_Debug -Onone
44
// RUN: %line-directive %t/FloatingPointConversion.swift -- %target-build-swift %t/FloatingPointConversion.swift -Xfrontend -disable-access-control -o %t/a.out_Release -O
55
//
66
// RUN: %line-directive %t/FloatingPointConversion.swift -- %target-run %t/a.out_Debug

0 commit comments

Comments
 (0)