Skip to content

Commit c032ace

Browse files
dtorrafaeljw
authored andcommitted
software node: add basic tests for property entries
This adds tests for creating software nodes with properties supplied by PROPERTY_ENTRY_XXX() macros and fetching and validating data from said nodes/properties. We are using KUnit framework for the tests. Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent e933bed commit c032ace

2 files changed

Lines changed: 476 additions & 0 deletions

File tree

‎drivers/base/test/Makefile‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
# SPDX-License-Identifier: GPL-2.0
22
obj-$(CONFIG_TEST_ASYNC_DRIVER_PROBE) += test_async_driver_probe.o
3+
4+
obj-$(CONFIG_KUNIT) += property-entry-test.o

0 commit comments

Comments
 (0)