mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-12-23 06:30:57 +00:00
* 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. |
||
|---|---|---|
| .. | ||
| data | ||
| binary.rs | ||
| feature.rs | ||
| hay.rs | ||
| json.rs | ||
| macros.rs | ||
| misc.rs | ||
| multiline.rs | ||
| regression.rs | ||
| tests.rs | ||
| util.rs | ||