Skip to content

Commit 7feae74

Browse files
authored
Merge pull request swiftlang#32272 from rintaro/5.3-ide-completion-rdar62923248
[5.3][CodeCompletion] Fix non-determinisc failures in dependency check tests
2 parents b291134 + 3151b05 commit 7feae74

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

test/SourceKit/CodeComplete/complete_checkdeps_bridged.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ func foo() {
3535
// RUN: -req=complete -pos=5:3 %s -- ${COMPILER_ARGS[@]} == \
3636

3737
// RUN: -shell -- echo '### Modify bridging header library file' == \
38-
// RUN: -shell -- cp -R $INPUT_DIR/MyProject_mod/LocalCFunc.h %t/MyProject/ == \
3938
// RUN: -shell -- sleep $SLEEP_TIME == \
39+
// RUN: -shell -- cp -R $INPUT_DIR/MyProject_mod/LocalCFunc.h %t/MyProject/ == \
4040
// RUN: -req=complete -pos=5:3 %s -- ${COMPILER_ARGS[@]} == \
4141

4242
// RUN: -shell -- echo '### Fast completion' == \

test/SourceKit/CodeComplete/complete_checkdeps_clangmodule.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ func foo() {
3535
// RUN: -req=complete -pos=5:3 %s -- ${COMPILER_ARGS[@]} == \
3636

3737
// RUN: -shell -- echo '### Modify framework (c)' == \
38-
// RUN: -shell -- cp -R $INPUT_DIR/ClangFW.framework_mod/* %t/Frameworks/ClangFW.framework/ == \
3938
// RUN: -shell -- sleep $SLEEP_TIME == \
39+
// RUN: -shell -- cp -R $INPUT_DIR/ClangFW.framework_mod/* %t/Frameworks/ClangFW.framework/ == \
4040
// RUN: -req=complete -pos=5:3 %s -- ${COMPILER_ARGS[@]} == \
4141

4242
// RUN: -shell -- echo '### Fast completion' == \

test/SourceKit/CodeComplete/complete_checkdeps_otherfile.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ func foo() {
3535
// RUN: -req=complete -pos=5:3 %s -- ${COMPILER_ARGS[@]} == \
3636

3737
// RUN: -shell -- echo "### Modify local library file" == \
38-
// RUN: -shell -- cp -R $INPUT_DIR/MyProject_mod/Library.swift %t/MyProject/ == \
3938
// RUN: -shell -- sleep $SLEEP_TIME == \
39+
// RUN: -shell -- cp -R $INPUT_DIR/MyProject_mod/Library.swift %t/MyProject/ == \
4040
// RUN: -req=complete -pos=5:3 %s -- ${COMPILER_ARGS[@]} == \
4141

4242
// RUN: -shell -- echo '### Fast completion' == \

test/SourceKit/CodeComplete/complete_checkdeps_swiftmodule.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ func foo() {
3535
// RUN: -req=complete -pos=5:3 %s -- ${COMPILER_ARGS[@]} == \
3636

3737
// RUN: -shell -- echo '### Modify framework (s)' == \
38-
// RUN: -shell -- %target-swift-frontend -emit-module -module-name SwiftFW -o %t/Frameworks/SwiftFW.framework/Modules/SwiftFW.swiftmodule/%target-swiftmodule-name $INPUT_DIR/SwiftFW_src_mod/Funcs.swift == \
3938
// RUN: -shell -- sleep $SLEEP_TIME == \
39+
// RUN: -shell -- %target-swift-frontend -emit-module -module-name SwiftFW -o %t/Frameworks/SwiftFW.framework/Modules/SwiftFW.swiftmodule/%target-swiftmodule-name $INPUT_DIR/SwiftFW_src_mod/Funcs.swift == \
4040
// RUN: -req=complete -pos=5:3 %s -- ${COMPILER_ARGS[@]} == \
4141

4242
// RUN: -shell -- echo '### Fast completion' == \

0 commit comments

Comments
 (0)