STRA-338 S26: scripts and documented commands that ran tests of the moved engine now name leleka-engine-qwen35-cuda (leleka-runtime is a facade with no tests); test binaries are found as leleka_engine_qwen35_cuda-<hash>; smoke inventory groups follow the crate directory

This commit is contained in:
Pavlo Ratushnyi
2026-11-06 11:57:14 +01:00
parent ac50c32f31
commit b27dbeaf88
18 changed files with 90 additions and 90 deletions
+4 -4
View File
@@ -2,9 +2,9 @@
# Run the Linux x86_64-gated CPU tests of the Rust port inside Docker.
#
# scripts/linux-tests/run.sh # all three crates, one shard each
# scripts/linux-tests/run.sh -p leleka-runtime # selected crate(s)
# scripts/linux-tests/run.sh -p leleka-engine-qwen35-cuda # selected crate(s)
# scripts/linux-tests/run.sh -- <libtest args> # e.g. -- conversation::
# LELEKA_TEST_FILTER=conversation:: scripts/linux-tests/run.sh -p leleka-runtime
# LELEKA_TEST_FILTER=conversation:: scripts/linux-tests/run.sh -p leleka-engine-qwen35-cuda
# scripts/linux-tests/run.sh --mocks # also run the CPU fake-libcuda #[ignore]d mock gates
# LELEKA_TEST_CLEAN=1 ... # wipe the cached target volume first
#
@@ -36,7 +36,7 @@ while (( $# )); do
*) echo "unknown argument: $1 (use -p <crate> and/or -- <libtest args>)" >&2; exit 2 ;;
esac
done
(( ${#packages[@]} )) || packages=(leleka-cuda-driver leleka-runtime leleka-native-cpu-expert)
(( ${#packages[@]} )) || packages=(leleka-cuda-driver leleka-engine-qwen35-cuda leleka-native-cpu-expert)
if [[ -n "${LELEKA_TEST_FILTER:-}" ]]; then extra=("$LELEKA_TEST_FILTER" ${extra[@]+"${extra[@]}"}); fi
command -v docker >/dev/null || { echo "docker not found" >&2; exit 2; }
@@ -85,7 +85,7 @@ for pkg in "${packages[@]}"; do
start=$SECONDS
# --no-fail-fast: keep running every test binary even when one fails.
features=()
case "$pkg" in leleka-cuda-driver|leleka-runtime|leleka-native-cpu-expert) features=(--features leleka-cuda-driver/cuda-driver) ;; esac
case "$pkg" in leleka-cuda-driver|leleka-engine-qwen35-cuda|leleka-native-cpu-expert) features=(--features leleka-cuda-driver/cuda-driver) ;; esac
docker_run cargo test --locked --no-fail-fast ${features[@]+"${features[@]}"} -p "$pkg" -- ${extra[@]+"${extra[@]}"} 2>&1 | tee "$log" | awk -v v="${LELEKA_TEST_VERBOSE:-}" 'v { print; next } /^warning/ { skip=1 } /^$/ { skip=0 } !skip { print }'
status=${PIPESTATUS[0]}
elapsed=$((SECONDS - start))