Skip to content

Commit f23f736

Browse files
committed
[testing] run under strace
1 parent fbe50e1 commit f23f736

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/ci/docker/host-x86_64/pr-check-2/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
1818
xz-utils \
1919
libssl-dev \
2020
pkg-config \
21+
strace \
2122
mingw-w64 \
2223
&& rm -rf /var/lib/apt/lists/*
2324

@@ -28,4 +29,5 @@ RUN sh /scripts/sccache.sh
2829

2930
ENV SCRIPT \
3031
ldd --version && \
31-
python3 ../x.py test --stage 1 std -- "write"
32+
python3 ../x.py test --stage 1 std -- "write_at" || \
33+
strace -ffe write,pwrite,pwrite64,pwritev2 python3 ../x.py test --stage 1 std -- "write_at"

0 commit comments

Comments
 (0)