Merged
fix(test): cleanup log level and test configuration #5773
chaizhengtongAdd on Aug 29
fix(test): cleanup log level and test configuration #5773
Merged
chaizhengtongAdd on Aug 29
Total: 2 files changed+3-6
@@ -61,7 +61,7 @@ private:
61 for (const std::pair<const EnumType, std::string>& item : funcNameMap) {61 for (const std::pair<const EnumType, std::string>& item : funcNameMap) {
62 void* func = libHandler_.GetFunction(item.second);62 void* func = libHandler_.GetFunction(item.second);
63 if (func == nullptr) {63 if (func == nullptr) {
64- ADAPTER_LOGE(InternalError::COMMON_INNER_ERROR, "Failed to load function[%s]", item.second.c_str());64+ ADAPTER_LOGI("Function[%s] is not available in current environment, skipping.", item.second.c_str());
65 continue;65 continue;
66 }66 }
67 ADAPTER_LOGD("Function[%s] has been loaded successfully.", item.second.c_str());67 ADAPTER_LOGD("Function[%s] has been loaded successfully.", item.second.c_str());
@@ -8,15 +8,12 @@
8# -----------------------------------------------------------------------------------------------------------8# -----------------------------------------------------------------------------------------------------------
9 9 
10[pytest]10[pytest]
11-# 全局测试文件匹配规则 (包含 models 定制规则和 pytest 默认规则)11+# 全局测试文件匹配规则 ( pytest 默认规则)
12python_files = test_*.py glm_*.py deepseekv32_*.py qwen3_next_*.py12python_files = test_*.py glm_*.py deepseekv32_*.py qwen3_next_*.py
13 13 
14# 指定默认测试路径14# 指定默认测试路径
15-testpaths = models python/tests/ut python/tests/st15+testpaths = python/tests/ut python/tests/st
16 16 
17markers =17markers =
18 soc: Mark test cases for specific SOC versions (e.g., 950, 910)18 soc: Mark test cases for specific SOC versions (e.g., 950, 910)
19 world_size: number of NPU cards required (e.g., 1, 2)19 world_size: number of NPU cards required (e.g., 1, 2)
20- 
21-# 排除experimental目录,由于ci torch版本,暂时也排除deepseek_v4
22-norecursedirs = experimental deepseek_v4