test: scan returned values in ci
This commit is contained in:
parent
cef1920251
commit
ce006e0b91
|
@ -207,8 +207,6 @@ static bool checkIndexName(SAstCreateContext* pCxt, SToken* pIndexName) {
|
|||
return false;
|
||||
}
|
||||
return true;
|
||||
|
||||
|
||||
}
|
||||
|
||||
static bool checkTopicName(SAstCreateContext* pCxt, SToken* pTopicName) {
|
||||
|
|
|
@ -182,7 +182,7 @@ if __name__ == "__main__":
|
|||
for file in all_file_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:
|
||||
stdout, stderr = command_executor.execute(cmd)
|
||||
#if "error" in stderr:
|
||||
|
|
Loading…
Reference in New Issue