提交 ff2baf79 创建 作者: 宋海霞's avatar 宋海霞

更新 local_test_c.py

上级 afed35cc
流水线 #151560 已失败 于阶段
用时 30 秒
...@@ -226,6 +226,10 @@ if __name__ == "__main__": ...@@ -226,6 +226,10 @@ if __name__ == "__main__":
errorInfo = "输出结果比较异常,返回值:{0}。".format(execResult) errorInfo = "输出结果比较异常,返回值:{0}。".format(execResult)
outputPromptInfo(bIncludeCi, errorInfo, 2) outputPromptInfo(bIncludeCi, errorInfo, 2)
else: else:
promptInfo("注意:如果读者是在jupyterlab中完成实验,请使用以下方式打开文件比较结果:\n\
选择View菜单中的Explorer菜单项,在打开的文件列表中,右击result_comparation.html文件,\n\
在弹出的菜单中选择“Open Preview”菜单项,可以打开文件比较结果,可帮助用户查找验证失败的原因。")
outputPromptInfo(bIncludeCi, errorInfo, 3)
webbrowser.open('file://' + os.path.realpath(compResultFile)) webbrowser.open('file://' + os.path.realpath(compResultFile))
exit(1) exit(1)
seqNum = seqNum + 1 seqNum = seqNum + 1
\ No newline at end of file
  • Developer

    代码质量分析发现了 3 个问题。

    • 0 blocker
    • 🚫 0 critical
    • 0 major
    • 🔽 1 minor
    • 2 info

    注意: 存在下列问题的代码行在本次提交中没有发生变更,无法使用代码行评论的方式进行报告。所以将下列问题汇总显示在这里(点击问题链接可以转到对应的源代码行):

    1. 🔽 Cppcheck cannot find all the include files. Cppcheck can check the code without the include files found. But the results will probably be more accurate if all the include files are found. Please check your project's include directories and add all of them as include directories for Cppcheck. To see what files Cppcheck cannot find use --check-config. (ProjectKey-169403) 📘
    2. keyword 'if' not followed by a single space 📘
    3. keyword 'if' not followed by a single space 📘
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论