29 lines
529 B
Makefile
29 lines
529 B
Makefile
# Simple Makefile for Steel Decimal
|
|
|
|
# Production test settings
|
|
export PROPTEST_CASES=10000
|
|
export RUST_BACKTRACE=1
|
|
|
|
.PHONY: test check
|
|
|
|
# Run all tests with production settings
|
|
test:
|
|
@echo "Running all tests..."
|
|
@cargo test --release
|
|
|
|
# Quick development test
|
|
test-dev:
|
|
@PROPTEST_CASES=100 cargo test
|
|
|
|
# Check compilation
|
|
check:
|
|
@cargo check
|
|
|
|
# Clean build artifacts
|
|
clean:
|
|
@cargo clean
|
|
|
|
# Run with specific test threads for concurrency tests
|
|
test-concurrent:
|
|
@cargo test concurrency_tests --release -- --test-threads=1
|