mirror of
https://github.com/uutils/findutils.git
synced 2026-06-10 15:48:30 -07:00
ci: Update bfs to 3.1.3
This commit is contained in:
@@ -90,7 +90,7 @@ jobs:
|
||||
with:
|
||||
repository: tavianator/bfs
|
||||
path: bfs
|
||||
ref: '3.0.3'
|
||||
ref: '3.1.3'
|
||||
- name: Install `rust` toolchain
|
||||
run: |
|
||||
## Install `rust` toolchain
|
||||
|
||||
+4
-4
@@ -13,7 +13,7 @@ cargo build --release
|
||||
FIND=$(readlink -f target/release/find)
|
||||
|
||||
cd ..
|
||||
make -C bfs -j "$(nproc)" bin/tests/{mksock,xtouch} USE_ONIGURUMA=
|
||||
make -C bfs -j "$(nproc)" bin/tests/{mksock,xtouch} NOLIBS=y
|
||||
|
||||
# Run the GNU find compatibility tests by default
|
||||
if test "$#" -eq 0; then
|
||||
@@ -23,9 +23,9 @@ fi
|
||||
LOG_FILE=bfs/tests.log
|
||||
./bfs/tests/tests.sh --bfs="$FIND" "$@" | tee "$LOG_FILE" || :
|
||||
|
||||
PASS=$(sed -n "s/^tests passed: \(.*\)/\1/p" "$LOG_FILE" | head -n1)
|
||||
SKIP=$(sed -n "s/^tests skipped: \(.*\)/\1/p" "$LOG_FILE" | head -n1)
|
||||
FAIL=$(sed -n "s/^tests failed: \(.*\)/\1/p" "$LOG_FILE" | head -n1)
|
||||
PASS=$(sed -En 's|^\[PASS] *([0-9]+) / .*|\1|p' "$LOG_FILE")
|
||||
SKIP=$(sed -En 's|^\[SKIP] *([0-9]+) / .*|\1|p' "$LOG_FILE")
|
||||
FAIL=$(sed -En 's|^\[FAIL] *([0-9]+) / .*|\1|p' "$LOG_FILE")
|
||||
|
||||
# Default any missing numbers to zero (e.g. no tests skipped)
|
||||
: ${PASS:=0}
|
||||
|
||||
Reference in New Issue
Block a user