Skip to content

Commit 6dba2a9

Browse files
committed
[Tests] Mark check dependency tests cases 'REQUIRES: shell'
These test cases use shell variables etc. (cherry picked from commit e32de78)
1 parent 6758aca commit 6dba2a9

6 files changed

+12
-0
lines changed

test/SourceKit/CodeComplete/complete_checkdeps_bridged.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ func foo() {
55
/*HERE*/
66
}
77

8+
// REQUIRES: shell
9+
810
// RUN: %empty-directory(%t/Frameworks)
911
// RUN: %empty-directory(%t/MyProject)
1012

test/SourceKit/CodeComplete/complete_checkdeps_clangmodule.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ func foo() {
55
/*HERE*/
66
}
77

8+
// REQUIRES: shell
9+
810
// RUN: %empty-directory(%t/Frameworks)
911
// RUN: %empty-directory(%t/MyProject)
1012

test/SourceKit/CodeComplete/complete_checkdeps_otherfile.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ func foo() {
55
/*HERE*/
66
}
77

8+
// REQUIRES: shell
9+
810
// RUN: %empty-directory(%t/Frameworks)
911
// RUN: %empty-directory(%t/MyProject)
1012

test/SourceKit/CodeComplete/complete_checkdeps_swiftmodule.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ func foo() {
55
/*HERE*/
66
}
77

8+
// REQUIRES: shell
9+
810
// RUN: %empty-directory(%t/Frameworks)
911
// RUN: %empty-directory(%t/MyProject)
1012

test/SourceKit/CodeComplete/complete_checkdeps_vfs.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ func foo(value: MyStruct) {
22
value./*HERE*/
33
}
44

5+
// REQUIRES: shell
6+
57
// RUN: DEPCHECK_INTERVAL=1
68
// RUN: SLEEP_TIME=2
79

test/SourceKit/CodeComplete/complete_checkdeps_vfs_open.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ func foo(value: MyStruct) {
22
value./*HERE*/
33
}
44

5+
// REQUIRES: shell
6+
57
// RUN: DEPCHECK_INTERVAL=1
68
// RUN: SLEEP_TIME=2
79

0 commit comments

Comments
 (0)