From 0b21c84c38851324e9346917b33fa02a29bb8720 Mon Sep 17 00:00:00 2001 From: Taylor Cramer Date: Mon, 19 Aug 2024 17:10:45 +0000 Subject: [PATCH] pw_rpc: Add missing Bazel test rules MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I79cc9ec5ceadfc8ca4a4bce8bbb6e9e3a741553a Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/230691 Pigweed-Auto-Submit: Taylor Cramer Commit-Queue: Taylor Cramer Lint: Lint 🤖 Reviewed-by: Armando Montanez --- pw_rpc/py/BUILD.bazel | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/pw_rpc/py/BUILD.bazel b/pw_rpc/py/BUILD.bazel index b058276310..424176f410 100644 --- a/pw_rpc/py/BUILD.bazel +++ b/pw_rpc/py/BUILD.bazel @@ -185,3 +185,42 @@ pw_py_test( "//pw_status/py:pw_status", ], ) + +pw_py_test( + name = "console_tools_test", + size = "small", + srcs = [ + "tests/console_tools/console_tools_test.py", + ], + data = [ + "@com_google_protobuf//:protoc", + ], + env = { + "PROTOC": "$(location @com_google_protobuf//:protoc)", + }, + deps = [ + ":pw_rpc", + ], +) + +pw_py_test( + name = "functions_test", + size = "small", + srcs = [ + "tests/console_tools/functions_test.py", + ], + deps = [ + ":pw_rpc", + ], +) + +pw_py_test( + name = "watchdog_test", + size = "small", + srcs = [ + "tests/console_tools/watchdog_test.py", + ], + deps = [ + ":pw_rpc", + ], +)