From f339c9e115816b72bafad1b8a2927a6eccca66b5 Mon Sep 17 00:00:00 2001 From: Eric Miotto <1094986+edymtt@users.noreply.github.com> Date: Thu, 7 Jan 2021 12:18:35 -0800 Subject: [PATCH] [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 --- tests/Ninja/Build/max-commands-progress.ninja | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Ninja/Build/max-commands-progress.ninja b/tests/Ninja/Build/max-commands-progress.ninja index 04be660c..14c6969d 100644 --- a/tests/Ninja/Build/max-commands-progress.ninja +++ b/tests/Ninja/Build/max-commands-progress.ninja @@ -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