Skip to content

Commit

Permalink
[Test] Relax ordering assumption in max-commands-progress.ninja
Browse files Browse the repository at this point in the history
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
  • Loading branch information
edymtt committed Jan 7, 2021
1 parent 689b15c commit f339c9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Ninja/Build/max-commands-progress.ninja
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
# RUN: %{llbuild} ninja build --jobs 1 --chdir %t.build &> %t1.out
# RUN: %{FileCheck} --check-prefix=CHECK-INITIAL < %t1.out %s
#
# CHECK-INITIAL: [1/{{.*}}] cp input-2 output-2
# CHECK-INITIAL: [2/{{.*}}] cp input-1 output-1
# CHECK-INITIAL: [{{1|2}}/{{.*}}] cp input-2 output-2
# CHECK-INITIAL: [{{1|2}}/{{.*}}] cp input-1 output-1
# CHECK-INITIAL: [3/3] cat output-1 output-2 > output

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

0 comments on commit f339c9e

Please sign in to comment.