devicetree-compiler.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tim Wang <timwang-XOWFcpiLszpWk0Htik3J/w@public.gmane.org>
To: devicetree-compiler-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: wtt_usst-9Onoh4P/yGk@public.gmane.org,
	timwang-XOWFcpiLszpWk0Htik3J/w@public.gmane.org
Subject: [PATCH] tests: add -a option cases
Date: Wed, 13 Jul 2016 19:35:01 +0800	[thread overview]
Message-ID: <1468409701-3310-1-git-send-email-timwang@asrmicro.com> (raw)

Signed-off-by: Tim Wang <timwang-XOWFcpiLszpWk0Htik3J/w@public.gmane.org>
---
 tests/run_tests.sh | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/tests/run_tests.sh b/tests/run_tests.sh
index 7eb9b3d..6aed6d6 100755
--- a/tests/run_tests.sh
+++ b/tests/run_tests.sh
@@ -579,9 +579,10 @@ fdtput_tests () {
     dts=label01.dts
     dtb=$dts.fdtput.test.dtb
     text=lorem.txt
+    align=64
 
     # Allow just enough space for $text
-    run_dtc_test -O dtb -p $(stat -c %s $text) -o $dtb $dts
+    run_dtc_test -O dtb -p $(stat -c %s $text) -a $align -o $dtb $dts
 
     # run_fdtput_test <expected-result> <file> <node> <property> <flags> <value>
     run_fdtput_test "a_model" $dtb / model -ts "a_model"
@@ -600,7 +601,7 @@ fdtput_tests () {
     run_fdtput_test "$(cat $text $text)" $dtb /randomnode blob -ts "$(cat $text $text)"
 
     # Start again with a fresh dtb
-    run_dtc_test -O dtb -p $(stat -c %s $text) -o $dtb $dts
+    run_dtc_test -O dtb -p $(stat -c %s $text) -a $align -o $dtb $dts
 
     # Node creation
     run_wrap_error_test $DTPUT $dtb -c /baldrick sod
@@ -628,7 +629,7 @@ fdtput_tests () {
     run_wrap_test $DTPUT $dtb -cp /chosen/son
 
     # Start again with a fresh dtb
-    run_dtc_test -O dtb -p $(stat -c %s $text) -o $dtb $dts
+    run_dtc_test -O dtb -p $(stat -c %s $text) -a $align -o $dtb $dts
 
     # Node delete
     run_wrap_test $DTPUT $dtb -c /chosen/node1 /chosen/node2 /chosen/node3
-- 
1.9.1


             reply	other threads:[~2016-07-13 11:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-13 11:35 Tim Wang [this message]
     [not found] ` <1468409701-3310-1-git-send-email-timwang-XOWFcpiLszpWk0Htik3J/w@public.gmane.org>
2016-07-14  9:27   ` [PATCH] tests: add -a option cases David Gibson
     [not found]     ` <20160714092721.GP14615-RXTfZT5YzpxwFLYp8hBm2A@public.gmane.org>
2016-07-14 10:02       ` Wang Tim(王艇艇)
     [not found]         ` <0524d71d69d240c39c0337ea08a55d5e-w/Y+SVW4SlHx9BLjpE4ezaBKnGwkPULj@public.gmane.org>
2016-07-15  2:13           ` David Gibson
     [not found]             ` <20160715021314.GS14615-RXTfZT5YzpxwFLYp8hBm2A@public.gmane.org>
2016-07-18  8:21               ` Wang Tim(王艇艇)

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=1468409701-3310-1-git-send-email-timwang@asrmicro.com \
    --to=timwang-xowfcpilszpwk0htik3j/w@public.gmane.org \
    --cc=devicetree-compiler-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=wtt_usst-9Onoh4P/yGk@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).