-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun_tests.sh
More file actions
23 lines (18 loc) · 609 Bytes
/
Copy pathrun_tests.sh
File metadata and controls
23 lines (18 loc) · 609 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash
# BlockMesh Studio 測試執行腳本
# 確保 UTF-8 編碼支援正體中文
echo "============================================"
echo " BlockMesh Studio 測試執行器"
echo "============================================"
# 設定 UTF-8 環境變數(Python 3.14 已內建 UTF-8 模式)
export PYTHONIOENCODING=utf-8
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
echo ""
echo "正在執行測試..."
echo ""
uv run pytest -v --tb=short "$@"
echo ""
echo "============================================"
echo " 測試執行完成"
echo "============================================"