Skip to content

Commit 47ffa74

Browse files
committed
Rename opt-remark-* tests to use underscores to be consistent wiht other tests.
1 parent 360e32b commit 47ffa74

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

test/SILOptimizer/opt-remark-generator-yaml.swift renamed to test/SILOptimizer/opt_remark/opt_remark_generator_yaml.swift

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
// REQUIRES: optimized_stdlib,swift_stdlib_no_asserts
77

88
// This file is testing out the basic YAML functionality to make sure that it
9-
// works without burdening opt-remark-generator-yaml.swift with having to update all
9+
// works without burdening opt_remark_generator_yaml.swift with having to update all
1010
// of the yaml test cases everytime new code is added.
1111

1212
public class Klass {}
1313

1414
// CHECK: --- !Missed
1515
// CHECK-NEXT: Pass: sil-opt-remark-gen
1616
// CHECK-NEXT: Name: sil.memory
17-
// CHECK-NEXT: DebugLoc: { File: '{{.*}}opt-remark-generator-yaml.swift',
17+
// CHECK-NEXT: DebugLoc: { File: '{{.*}}opt_remark_generator_yaml.swift',
1818
// CHECK-NEXT: Line: [[# @LINE + 7 ]], Column: 21 }
1919
// CHECK-NEXT: Function: main
2020
// CHECK-NEXT: Args:
@@ -27,30 +27,30 @@ public var global = Klass() // expected-remark {{heap allocated ref of type 'Kla
2727
// CHECK: --- !Missed
2828
// CHECK-NEXT: Pass: sil-opt-remark-gen
2929
// CHECK-NEXT: Name: sil.memory
30-
// CHECK-NEXT: DebugLoc: { File: '{{.*}}opt-remark-generator-yaml.swift',
30+
// CHECK-NEXT: DebugLoc: { File: '{{.*}}opt_remark_generator_yaml.swift',
3131
// CHECK-NEXT: Line: [[# @LINE + 27 ]], Column: 12 }
3232
// CHECK-NEXT: Function: 'getGlobal()'
3333
// CHECK-NEXT: Args:
3434
// CHECK-NEXT: - String: 'begin exclusive access to value of type '''
3535
// CHECK-NEXT: - ValueType: Klass
3636
// CHECK-NEXT: - String: ''''
3737
// CHECK-NEXT: - InferredValue: 'of ''global'''
38-
// CHECK-NEXT: DebugLoc: { File: '{{.*}}opt-remark-generator-yaml.swift',
38+
// CHECK-NEXT: DebugLoc: { File: '{{.*}}opt_remark_generator_yaml.swift',
3939
// CHECK-NEXT: Line: [[# @LINE - 14 ]], Column: 12 }
4040
// CHECK-NEXT: ...
4141
//
4242
// CHECK: --- !Missed
4343
// CHECK-NEXT: Pass: sil-opt-remark-gen
4444
// CHECK-NEXT: Name: sil.memory
45-
// CHECK-NEXT: DebugLoc: { File: '{{.*}}opt-remark-generator-yaml.swift',
45+
// CHECK-NEXT: DebugLoc: { File: '{{.*}}opt_remark_generator_yaml.swift',
4646
// CHECK-NEXT: Line: [[# @LINE + 12]], Column: 5 }
4747
// CHECK-NEXT: Function: 'getGlobal()'
4848
// CHECK-NEXT: Args:
4949
// CHECK-NEXT: - String: 'retain of type '''
5050
// CHECK-NEXT: - ValueType: Klass
5151
// CHECK-NEXT: - String: ''''
5252
// CHECK-NEXT: - InferredValue: 'of ''global'''
53-
// CHECK-NEXT: DebugLoc: { File: '{{.*}}opt-remark-generator-yaml.swift',
53+
// CHECK-NEXT: DebugLoc: { File: '{{.*}}opt_remark_generator_yaml.swift',
5454
// CHECK-NEXT: Line: [[# @LINE - 29 ]], Column: 12 }
5555
// CHECK-NEXT: ...
5656
@inline(never)
@@ -64,7 +64,7 @@ public func getGlobal() -> Klass {
6464
// CHECK: --- !Missed
6565
// CHECK-NEXT: Pass: sil-opt-remark-gen
6666
// CHECK-NEXT: Name: sil.memory
67-
// CHECK-NEXT: DebugLoc: { File: '{{.*}}opt-remark-generator-yaml.swift',
67+
// CHECK-NEXT: DebugLoc: { File: '{{.*}}opt_remark_generator_yaml.swift',
6868
// CHECK-NEXT: Line: [[# @LINE + 23]], Column: 11 }
6969
// CHECK-NEXT: Function: 'useGlobal()'
7070
// CHECK-NEXT: Args:
@@ -75,7 +75,7 @@ public func getGlobal() -> Klass {
7575
// CHECK-NEXT: --- !Missed
7676
// CHECK-NEXT: Pass: sil-opt-remark-gen
7777
// CHECK-NEXT: Name: sil.memory
78-
// CHECK-NEXT: DebugLoc: { File: '{{.*}}opt-remark-generator-yaml.swift',
78+
// CHECK-NEXT: DebugLoc: { File: '{{.*}}opt_remark_generator_yaml.swift',
7979
// CHECK-NEXT: Line: [[# @LINE + 12]], Column: 12 }
8080
// CHECK-NEXT: Function: 'useGlobal()'
8181
// CHECK-NEXT: Args:

0 commit comments

Comments
 (0)