Files
Sungjoon Moon 0a88cccd51 Fix compression tests in QEMU cross-compilation environments (#3248)
* tests: fix cmd_exists for QEMU environments

QEMU user-mode has a bug where posix_spawn returns success even when
the command doesn't exist. The child exits with 127, but the parent
thinks it succeeded.

Change cmd_exists to check if the command actually ran successfully
(exit code 0), not just if spawn returned Ok.

This fixes compression tests on riscv64 and other QEMU-emulated
architectures.

Ref https://github.com/rust-lang/rust/issues/90825

* tests: remove riscv64 skip for compression tests

Remove the cfg guards that disabled lz4, brotli, and zstd tests on
riscv64. These now work with the QEMU fix.
2025-12-17 11:38:12 -05:00
..
2018-08-20 07:10:19 -04:00
2025-09-19 21:08:19 -04:00
2020-02-17 19:24:53 -05:00