From: David Gibson <david-xT8FGy+AXnRB3Ne2BGzF6laj5H9X9Tb+@public.gmane.org>
To: Maxime Ripard
<maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
Cc: devicetree-compiler-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] tests: overlay: Rename the device tree blobs to be more explicit
Date: Wed, 12 Oct 2016 10:08:29 +1100 [thread overview]
Message-ID: <20161011230829.GA17844@umbus.fritz.box> (raw)
In-Reply-To: <20161011144407.32125-1-maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 2568 bytes --]
On Tue, Oct 11, 2016 at 04:44:07PM +0200, Maxime Ripard wrote:
> Rename the blobs to have a more explicit output that will give us a clearer
> idea about whether a DT (and the test) has been compiled using a dtc with
> our without overlays support.
>
> Signed-off-by: Maxime Ripard <maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
Applied, thanks.
> ---
> tests/run_tests.sh | 14 +++++++-------
> 1 file changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/tests/run_tests.sh b/tests/run_tests.sh
> index b49fa62a74e1..e4139dd035ad 100755
> --- a/tests/run_tests.sh
> +++ b/tests/run_tests.sh
> @@ -171,23 +171,23 @@ BAD_FIXUP_TREES="bad_index \
>
> overlay_tests () {
> # Overlay tests that don't require overlay support in dtc
> - run_dtc_test -I dts -O dtb -o overlay_base.test.dtb overlay_base.dts
> - run_dtc_test -I dts -O dtb -o overlay_overlay.test.dtb overlay_overlay_nodtc.dts
> - run_test overlay overlay_base.test.dtb overlay_overlay.test.dtb
> + run_dtc_test -I dts -O dtb -o overlay_base_no_symbols.test.dtb overlay_base.dts
> + run_dtc_test -I dts -O dtb -o overlay_overlay_no_symbols.test.dtb overlay_overlay_nodtc.dts
> + run_test overlay overlay_base_no_symbols.test.dtb overlay_overlay_no_symbols.test.dtb
>
> # Overlay tests that requires overlay support in dtc
> echo "/dts-v1/; / {};" | $DTC -@ > /dev/null 2>&1
> if [ $? -eq 0 ]; then
> - run_dtc_test -@ -I dts -O dtb -o overlay_base.test.dtb overlay_base.dts
> - run_dtc_test -@ -I dts -O dtb -o overlay_overlay.test.dtb overlay_overlay_dtc.dts
> - run_test overlay overlay_base.test.dtb overlay_overlay.test.dtb
> + run_dtc_test -@ -I dts -O dtb -o overlay_base_with_symbols.test.dtb overlay_base.dts
> + run_dtc_test -@ -I dts -O dtb -o overlay_overlay_with_symbols.test.dtb overlay_overlay_dtc.dts
> + run_test overlay overlay_base_with_symbols.test.dtb overlay_overlay_with_symbols.test.dtb
> fi
>
> # Bad fixup tests
> for test in $BAD_FIXUP_TREES; do
> tree="overlay_bad_fixup_$test"
> run_dtc_test -I dts -O dtb -o $tree.test.dtb $tree.dts
> - run_test overlay_bad_fixup overlay_base.test.dtb $tree.test.dtb
> + run_test overlay_bad_fixup overlay_base_no_symbols.test.dtb $tree.test.dtb
> done
> }
>
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
prev parent reply other threads:[~2016-10-11 23:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-11 14:44 [PATCH] tests: overlay: Rename the device tree blobs to be more explicit Maxime Ripard
[not found] ` <20161011144407.32125-1-maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2016-10-11 23:08 ` David Gibson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161011230829.GA17844@umbus.fritz.box \
--to=david-xt8fgy+axnrb3ne2bgzf6laj5h9x9tb+@public.gmane.org \
--cc=devicetree-compiler-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).