Skip to content

fill some gaps in UT and fix an issue relate to context cache path #30010

fill some gaps in UT and fix an issue relate to context cache path

fill some gaps in UT and fix an issue relate to context cache path #30010

Triggered via push January 26, 2024 04:15
Status Success
Total duration 20s
Artifacts
Validation
13s
Validation
Fit to window
Zoom out
Zoom in

Annotations

23 warnings
Validation
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: gradle/wrapper-validation-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
[cpplint] onnxruntime/core/providers/qnn/builder/onnx_ctx_model_helper.cc#L174: onnxruntime/core/providers/qnn/builder/onnx_ctx_model_helper.cc#L174
At least two spaces is best between code and comments [whitespace/comments] [2]
[cpplint] onnxruntime/core/providers/qnn/builder/onnx_ctx_model_helper.cc#L192: onnxruntime/core/providers/qnn/builder/onnx_ctx_model_helper.cc#L192
Add #include <unordered_map> for unordered_map<> [build/include_what_you_use] [4]
[cpplint] onnxruntime/core/providers/qnn/builder/onnx_ctx_model_helper.h#L66: onnxruntime/core/providers/qnn/builder/onnx_ctx_model_helper.h#L66
Add #include <unordered_map> for unordered_map<> [build/include_what_you_use] [4]
[cpplint] onnxruntime/test/providers/qnn/qnn_ep_context_test.cc#L18: onnxruntime/test/providers/qnn/qnn_ep_context_test.cc#L18
Do not use namespace using-directives. Use using-declarations instead. [build/namespaces] [5]
[cpplint] onnxruntime/test/providers/qnn/qnn_ep_context_test.cc#L19: onnxruntime/test/providers/qnn/qnn_ep_context_test.cc#L19
Do not use namespace using-directives. Use using-declarations instead. [build/namespaces] [5]
[cpplint] onnxruntime/test/providers/qnn/qnn_ep_context_test.cc#L105: onnxruntime/test/providers/qnn/qnn_ep_context_test.cc#L105
Lines should be <= 120 characters long [whitespace/line_length] [2]
[cpplint] onnxruntime/test/providers/qnn/qnn_ep_context_test.cc#L142: onnxruntime/test/providers/qnn/qnn_ep_context_test.cc#L142
Lines should be <= 120 characters long [whitespace/line_length] [2]
[cpplint] onnxruntime/test/providers/qnn/qnn_ep_context_test.cc#L239: onnxruntime/test/providers/qnn/qnn_ep_context_test.cc#L239
Lines should be <= 120 characters long [whitespace/line_length] [2]
[cpplint] onnxruntime/test/providers/qnn/qnn_ep_context_test.cc#L241: onnxruntime/test/providers/qnn/qnn_ep_context_test.cc#L241
Consider using EXPECT_EQ instead of EXPECT_TRUE(a == b) [readability/check] [2]
[cpplint] onnxruntime/test/providers/qnn/qnn_ep_context_test.cc#L242: onnxruntime/test/providers/qnn/qnn_ep_context_test.cc#L242
Consider using EXPECT_EQ instead of EXPECT_TRUE(a == b) [readability/check] [2]
[cpplint] onnxruntime/test/providers/qnn/qnn_ep_context_test.cc#L243: onnxruntime/test/providers/qnn/qnn_ep_context_test.cc#L243
Consider using EXPECT_EQ instead of EXPECT_TRUE(a == b) [readability/check] [2]
[cpplint] onnxruntime/test/providers/qnn/qnn_ep_context_test.cc#L308: onnxruntime/test/providers/qnn/qnn_ep_context_test.cc#L308
Lines should be <= 120 characters long [whitespace/line_length] [2]
[cpplint] onnxruntime/test/providers/qnn/qnn_ep_context_test.cc#L364: onnxruntime/test/providers/qnn/qnn_ep_context_test.cc#L364
At least two spaces is best between code and comments [whitespace/comments] [2]
[cpplint] onnxruntime/test/providers/qnn/qnn_ep_context_test.cc#L389: onnxruntime/test/providers/qnn/qnn_ep_context_test.cc#L389
Lines should be <= 120 characters long [whitespace/line_length] [2]