19 lines
378 B
Bash
Executable File
19 lines
378 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
echo "=== DeltaTrace Test Suite ==="
|
|
echo "Installing dependencies..."
|
|
pip install -q cryptography>=41.0.0
|
|
|
|
echo ""
|
|
echo "Running unit tests..."
|
|
cd "$(dirname "$0")"
|
|
python -m pytest tests/ -v --tb=short 2>/dev/null || python -m unittest discover -s tests -v
|
|
|
|
echo ""
|
|
echo "Running demo..."
|
|
python -m deltatrace.demo
|
|
|
|
echo ""
|
|
echo "=== All tests passed ==="
|