Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1630110
| From | frowand.list@gmail.com |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v2 0/2] of: Add unit tests for applying overlays |
| Date | 2017-04-25 01:10 +0200 |
| Message-ID | <tzVhf-4Us-9@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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>
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH v2 0/2] of: Add unit tests for applying overlays frowand.list@gmail.com - 2017-04-25 01:10 +0200
[PATCH v2 2/2] of: Add unit tests for applying overlays frowand.list@gmail.com - 2017-04-25 01:10 +0200
Re: [PATCH v2 2/2] of: Add unit tests for applying overlays Rob Herring <robh+dt@kernel.org> - 2017-04-25 18:50 +0200
Re: [PATCH v2 2/2] of: Add unit tests for applying overlays Frank Rowand <frowand.list@gmail.com> - 2017-04-25 19:50 +0200
csiph-web