Skip to content

Commit 6517bc9

Browse files
committed
Update run command
1 parent 6a949bb commit 6517bc9

File tree

1 file changed

+5
-2
lines changed
  • tests/cases/docker/chrome-devtools-frontend-next

1 file changed

+5
-2
lines changed

tests/cases/docker/chrome-devtools-frontend-next/Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,11 @@ WORKDIR devtools
77
RUN fetch devtools-frontend
88
WORKDIR devtools-frontend
99
RUN gn gen out/Default
10-
COPY --from=typescript/typescript /typescript/typescript-*.tgz typescript.tgz
10+
COPY --from=typescript/typescript /typescript/typescript-*.tgz /typescript.tgz
1111
RUN mkdir /typescript
1212
RUN tar -xzvf /typescript.tgz -C /typescript
1313
RUN ln -s /typescript/package ./node_modules/typescript
14-
RUN autoninja -C out/Default front_end
14+
# We don't want to show the ordering of which tasks ran in Ninja, as that is non-deterministic.
15+
# Instead, only show the errors in the log, from the first occurrence of a FAILED task.
16+
# If the task passes, then there is no log written.
17+
CMD ["autoninja", "-C", "out/Default", ">", "error.log", "||", "tail", "-n", "+$(sed", "-n", "'/FAILED/='", "error.log)", "error.log"]

0 commit comments

Comments
 (0)