public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] of: Add unit tests for applying overlays
@ 2017-04-24 23:05 frowand.list
  2017-04-24 23:05 ` [PATCH v2 1/2] of: support dtc compiler flags for overlays frowand.list
  2017-04-24 23:05 ` [PATCH v2 2/2] of: Add unit tests for applying overlays frowand.list
  0 siblings, 2 replies; 7+ messages in thread
From: frowand.list @ 2017-04-24 23:05 UTC (permalink / raw)
  To: Rob Herring, stephen.boyd, Michal Marek
  Cc: devicetree, linux-kernel, linux-kbuild

From: Frank Rowand <frank.rowand@sony.com>

Existing overlay unit tests examine individual pieces of the overlay
code.  The new tests target the entire process of applying an overlay.

Changes from v1:
  - Move overlay base dtb unflattening into unittest.c.  Call from fdt.c.
  - Clarify file and variable names, 'overlay_test_' instead of 'ot_'
  - Use proper naming convention for node names.
  - A few added comments.
  - Improve error messages in the new tests.

Frank Rowand (2):
  of: support dtc compiler flags for device tree overlays
  of: Add unit tests for applying overlays.

 drivers/of/fdt.c                                 |  14 +-
 drivers/of/of_private.h                          |  11 +
 drivers/of/unittest-data/Makefile                |  17 +-
 drivers/of/unittest-data/overlay.dts             |  53 ++++
 drivers/of/unittest-data/overlay_bad_phandle.dts |  20 ++
 drivers/of/unittest-data/overlay_base.dts        |  80 ++++++
 drivers/of/unittest.c                            | 318 +++++++++++++++++++++++
 scripts/Makefile.lib                             |   2 +
 8 files changed, 507 insertions(+), 8 deletions(-)
 create mode 100644 drivers/of/unittest-data/overlay.dts
 create mode 100644 drivers/of/unittest-data/overlay_bad_phandle.dts
 create mode 100644 drivers/of/unittest-data/overlay_base.dts

-- 
Frank Rowand <frank.rowand@sony.com>

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-04-26  0:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-24 23:05 [PATCH v2 0/2] of: Add unit tests for applying overlays frowand.list
2017-04-24 23:05 ` [PATCH v2 1/2] of: support dtc compiler flags for overlays frowand.list
2017-04-25 22:04   ` Masahiro Yamada
2017-04-26  0:10     ` Frank Rowand
2017-04-24 23:05 ` [PATCH v2 2/2] of: Add unit tests for applying overlays frowand.list
2017-04-25 16:44   ` Rob Herring
2017-04-25 17:45     ` Frank Rowand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox