From 37096952a036ef03b906ebf31f298dac1051d3d7 Mon Sep 17 00:00:00 2001 From: rgoliver Date: Wed, 26 Jan 2022 21:33:45 -0500 Subject: [PATCH] EFR32: Remove default install of py runner (#14354) It looks like this is causing build flake, removing default install of the python runner until it can be properly debugged. --- src/test_driver/efr32/BUILD.gn | 5 ++++- src/test_driver/efr32/README.md | 15 ++++++++++----- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/src/test_driver/efr32/BUILD.gn b/src/test_driver/efr32/BUILD.gn index ea4feada715cef..ec5848855dcecd 100644 --- a/src/test_driver/efr32/BUILD.gn +++ b/src/test_driver/efr32/BUILD.gn @@ -113,8 +113,11 @@ efr32_executable("efr32_device_tests") { } group("efr32") { + deps = [ ":efr32_device_tests" ] +} + +group("runner") { deps = [ - ":efr32_device_tests", "${efr32_project_dir}/py:nl_test_runner.install", "${efr32_project_dir}/py:nl_test_runner_wheel", ] diff --git a/src/test_driver/efr32/README.md b/src/test_driver/efr32/README.md index cee2b10253c05d..0f0e2153273b11 100644 --- a/src/test_driver/efr32/README.md +++ b/src/test_driver/efr32/README.md @@ -4,10 +4,9 @@ This builds and runs the NLUnitTest on the efr32 device
-- [CHIP EFR32 Test Driver](#chip-efr32-test-driver) - - [Introduction](#introduction) - - [Building](#building) - - [Running The Tests](#running-the-tests) +- [Introduction](#introduction) +- [Building](#building) +- [Running The Tests](#running-the-tests)
@@ -76,7 +75,13 @@ OR use GN/Ninja directly ## Running The Tests -The included python test runner will be installed as part of building. +Build the runner using gn: + + $ gn gen out/debug + $ ninja -C out/debug runner + +The runner will be installed into the venv and python wheels will be packaged in +the output folder for deploying. - To run the tests: