MCPcopy Create free account
hub / github.com/EmbeddedRPC/erpc / get_test_executable

Method get_test_executable

test/run_unit_tests.py:499–509  ·  view source on GitHub ↗

Get path to executable of given test, type and transport (work for C++ tests) @param test: Name of the test @param test_type: client/server @param transport: tcp/serial @return: Path to the executable

(self, test: str, test_type: str, transport: str)

Source from the content-addressed store, hash-verified

497 sleep(0.5) # Wait for server to start
498
499 def get_test_executable(self, test: str, test_type: str, transport: str) -> Path:
500 """
501 Get path to executable of given test, type and transport (work for C++ tests)
502 @param test: Name of the test
503 @param test_type: client/server
504 @param transport: tcp/serial
505 @return: Path to the executable
506 """
507 executable = self.build_dir.joinpath("test").joinpath(test).joinpath(f"{test}_{test_type}_{transport}")
508
509 return executable
510
511 def cmake_generate(self) -> int:
512 """

Callers 4

clientMethod · 0.95
serverMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected