更新测试脚本
This commit is contained in:
parent
440cb6936b
commit
9b1cf5f0ce
|
|
@ -52,9 +52,9 @@ for dataset in "${DATASETS[@]}"; do
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# 执行测试命令并捕获输出
|
# 执行测试命令,同时捕获输出并显示在控制台上
|
||||||
echo "执行: python run.py --config $CONFIG_PATH"
|
echo "执行: python run.py --config $CONFIG_PATH"
|
||||||
output=$(python run.py --config "$CONFIG_PATH" 2>&1)
|
output=$(python run.py --config "$CONFIG_PATH" 2>&1 | tee /dev/tty)
|
||||||
|
|
||||||
# 如果没有找到明确的标记,回退到检查退出码
|
# 如果没有找到明确的标记,回退到检查退出码
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue