test(build): cover build script feature flags (#2837)

This commit is contained in:
安正超
2026-05-07 05:18:51 +08:00
committed by GitHub
parent 04712fb6c6
commit 68fcbffcb6
2 changed files with 109 additions and 1 deletions
+6 -1
View File
@@ -2,8 +2,13 @@
TEST_THREADS ?= 1
.PHONY: script-tests
script-tests: ## Run shell script tests
@echo "Running script tests..."
./scripts/test_build_rustfs_options.sh
.PHONY: test
test: core-deps test-deps ## Run all tests
test: core-deps test-deps script-tests ## Run all tests
@echo "🧪 Running tests..."
@if command -v cargo-nextest >/dev/null 2>&1; then \
cargo nextest run --all --exclude e2e_test; \