Skip to content

Commit a41ef2b

Browse files
committed
debug
1 parent b4825e0 commit a41ef2b

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

ci/docker/i686-unknown-linux-gnu/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ RUN mkdir intel-sde
1313
RUN tar -xJf sde.tar.xz --strip-components=1 -C intel-sde
1414
ENV CARGO_TARGET_I686_UNKNOWN_LINUX_GNU_RUNNER="/intel-sde/sde \
1515
-cpuid-in /checkout/ci/cpuid.def \
16-
-rtm-mode full -tsx --"
16+
-pin-log-file /checkout/target/pin-log.txt --"
1717
# SDE doesn't support AMD extensions
1818
# FIXME: find a way to test these
1919
ENV STDARCH_TEST_SKIP_FEATURE="sse4a,tbm,xop"

ci/run-docker.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ run() {
1919
# Prevent `Read-only file system (os error 30)`.
2020
cargo generate-lockfile
2121

22+
echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope
23+
2224
echo "Building docker container for TARGET=${1}"
2325
docker build -t stdarch -f "ci/docker/${1}/Dockerfile" ci/
2426
mkdir -p target c_programs rust_programs

ci/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ cargo_test() {
9292
CORE_ARCH="--manifest-path=crates/core_arch/Cargo.toml"
9393
STDARCH_EXAMPLES="--manifest-path=examples/Cargo.toml"
9494

95-
cargo_test "${CORE_ARCH}"
95+
cargo_test "${CORE_ARCH}" || cat /checkout/target/pin-log.txt
9696

9797
if [ "$NOSTD" != "1" ]; then
9898
cargo_test "${STDARCH_EXAMPLES}"

0 commit comments

Comments
 (0)