test: scan returned values in ci

This commit is contained in:
chenhaoran 2024-08-02 10:30:49 +08:00
parent cef1920251
commit ce006e0b91
2 changed files with 1 additions and 3 deletions

View File

@ -207,8 +207,6 @@ static bool checkIndexName(SAstCreateContext* pCxt, SToken* pIndexName) {
return false; return false;
} }
return true; return true;
} }
static bool checkTopicName(SAstCreateContext* pCxt, SToken* pTopicName) { static bool checkTopicName(SAstCreateContext* pCxt, SToken* pTopicName) {

View File

@ -182,7 +182,7 @@ if __name__ == "__main__":
for file in all_file_path: for file in all_file_path:
cmd = f"clang-query-10 -p {compile_commands_path} {file} -f {clang_scan_rules_path}" cmd = f"clang-query-10 -p {compile_commands_path} {file} -f {clang_scan_rules_path}"
print(f"cmd:{cmd}") logger.debug(f"cmd:{cmd}")
try: try:
stdout, stderr = command_executor.execute(cmd) stdout, stderr = command_executor.execute(cmd)
#if "error" in stderr: #if "error" in stderr: