Skip to content

Commit f339c9e

Browse files
committed
[Test] Relax ordering assumption in max-commands-progress.ninja
While most of the times `output-2` is copied before `output-1`, in some rare cases the opposite can happen (which seems reasonable since there are not ordering between the two). Addresses rdar://72898516
1 parent 689b15c commit f339c9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Ninja/Build/max-commands-progress.ninja

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
# RUN: %{llbuild} ninja build --jobs 1 --chdir %t.build &> %t1.out
88
# RUN: %{FileCheck} --check-prefix=CHECK-INITIAL < %t1.out %s
99
#
10-
# CHECK-INITIAL: [1/{{.*}}] cp input-2 output-2
11-
# CHECK-INITIAL: [2/{{.*}}] cp input-1 output-1
10+
# CHECK-INITIAL: [{{1|2}}/{{.*}}] cp input-2 output-2
11+
# CHECK-INITIAL: [{{1|2}}/{{.*}}] cp input-1 output-1
1212
# CHECK-INITIAL: [3/3] cat output-1 output-2 > output
1313

1414
# RUN: %{adjust-times} -now-plus-ulp %t.build/input-1

0 commit comments

Comments
 (0)