From ce9a5ca166f59b147b922e4ada74408cd6661a19 Mon Sep 17 00:00:00 2001 From: Jeff Feasel Date: Sat, 27 Jul 2024 18:20:45 +0000 Subject: [PATCH] Add the common library as a dep if chip_link_tests is false. Applied changes to the deprecated user-defined-driver feature in case anyone is still using it. --- build/chip/chip_test_suite.gni | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/build/chip/chip_test_suite.gni b/build/chip/chip_test_suite.gni index 9ba467b4288d5d..8db07eac287720 100644 --- a/build/chip/chip_test_suite.gni +++ b/build/chip/chip_test_suite.gni @@ -146,33 +146,6 @@ template("chip_test_suite") { tests += [ _test_name ] } - if (defined(invoker.tests)) { - foreach(_test, invoker.tests) { - _test_output_dir = "${root_out_dir}/tests" - if (defined(invoker.output_dir)) { - _test_output_dir = invoker.output_dir - } - - pw_test(_test) { - forward_variables_from(invoker, - [ - "deps", - "public_deps", - "cflags", - "configs", - ]) - public_deps += [ ":${_suite_name}.lib" ] - test_main = "" - sources = [ - "${_test}.cpp", - "${_test}Driver.cpp", - ] - output_dir = _test_output_dir - } - tests += [ _test ] - } - } - group(_suite_name) { deps = [] foreach(_test, tests) {