Skip to content

Commit f46e2c2

Browse files
committed
[testing] Workaround unsorted output
1 parent cdc38da commit f46e2c2

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

test/Driver/Dependencies/driver-show-incremental-mutual-fine.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
// RUN: touch -t 201401240005 %t/*
66

77
// RUN: cd %t && %swiftc_driver -c -driver-use-frontend-path "%{python};%S/Inputs/update-dependencies.py;%swift-dependency-tool" -output-file-map %t/output.json -incremental -disable-direct-intramodule-dependencies -driver-always-rebuild-dependents ./main.swift ./other.swift -module-name main -j1 -v -driver-show-incremental -disable-direct-intramodule-dependencies 2>&1 | %FileCheck -check-prefix=CHECK-FIRST %s
8-
// CHECK-FIRST: Handled main.swift
9-
// CHECK-FIRST: Handled other.swift
10-
// CHECK-FIRST: Disabling incremental build: could not read build record
8+
// CHECK-FIRST-DAG: Handled main.swift
9+
// CHECK-FIRST-DAG: Handled other.swift
10+
// CHECK-FIRST-DAG: Disabling incremental build: could not read build record
1111

1212
// RUN: cd %t && %swiftc_driver -c -driver-use-frontend-path "%{python};%S/Inputs/update-dependencies.py;%swift-dependency-tool" -output-file-map %t/output.json -incremental -disable-direct-intramodule-dependencies -driver-always-rebuild-dependents ./main.swift ./other.swift -module-name main -j1 -v -driver-show-incremental -disable-direct-intramodule-dependencies 2>&1 | %FileCheck -check-prefix=CHECK-SECOND %s
1313
// CHECK-SECOND-NOT: Queuing

test/Driver/PrivateDependencies/driver-show-incremental-mutual-fine.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
// RUN: touch -t 201401240005 %t/*
66

77
// RUN: cd %t && %swiftc_driver -c -driver-use-frontend-path "%{python};%S/Inputs/update-dependencies.py;%swift-dependency-tool" -output-file-map %t/output.json -incremental -enable-direct-intramodule-dependencies -driver-always-rebuild-dependents ./main.swift ./other.swift -module-name main -j1 -v -driver-show-incremental 2>&1 | %FileCheck -check-prefix=CHECK-FIRST %s
8-
// CHECK-FIRST: Handled main.swift
9-
// CHECK-FIRST: Handled other.swift
10-
// CHECK-FIRST: Disabling incremental build: could not read build record
8+
// CHECK-FIRST-DAG: Handled main.swift
9+
// CHECK-FIRST-DAG: Handled other.swift
10+
// CHECK-FIRST-DAG: Disabling incremental build: could not read build record
1111

1212
// RUN: cd %t && %swiftc_driver -c -driver-use-frontend-path "%{python};%S/Inputs/update-dependencies.py;%swift-dependency-tool" -output-file-map %t/output.json -incremental -enable-direct-intramodule-dependencies -driver-always-rebuild-dependents ./main.swift ./other.swift -module-name main -j1 -v -driver-show-incremental 2>&1 | %FileCheck -check-prefix=CHECK-SECOND %s
1313
// CHECK-SECOND-NOT: Queuing

0 commit comments

Comments
 (0)