From: Stephen Warren <swarren@wwwdotorg.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] Logging SPL output with test/py
Date: Tue, 5 Jul 2016 16:09:46 -0600 [thread overview]
Message-ID: <577C302A.10409@wwwdotorg.org> (raw)
In-Reply-To: <CAPnjgZ1XE+CANgdyyVVTCj=UPqAf=QBk=jzdYAEs4dJ4V2K+ww@mail.gmail.com>
On 07/04/2016 09:40 AM, Simon Glass wrote:
> Hi Stephen,
>
> On 3 July 2016 at 22:14, Simon Glass <sjg@chromium.org> wrote:
>> Hi Stephen,
>>
>> I'd like to get access to SPL output from a test. It seems that only
>> the output from U-Boot proper is logged, although I cannot see why.
>>
>> For background, I have a new sandbox_spl target which includes SPL
>> code. I will likely merge it into the normal sandbox target...
>>
>> It is definitely running SPL because I see the SPL console output when
>> I use the -s flag to test.py. But it does not appear in test-log.html.
>>
>> Let me know if you have any ideas...
>
> It turns it it was logged, but the ANSI characters were messing up the
> html due to a bug in sandbox SPL. Nothing to do with the test/py
> stuff, but confusing!
Odd. test/py should escape (i.e. convert to a hex representation) any
non-printable (or perhaps just < 32) character code. That should have
left the HTML log readable. I guess that didn't work for some reason. Is
it easy to reproduce? It might be worth fixing.
next prev parent reply other threads:[~2016-07-05 22:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-04 4:14 [U-Boot] Logging SPL output with test/py Simon Glass
2016-07-04 15:40 ` Simon Glass
2016-07-05 22:09 ` Stephen Warren [this message]
2016-07-05 22:25 ` Simon Glass
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=577C302A.10409@wwwdotorg.org \
--to=swarren@wwwdotorg.org \
--cc=u-boot@lists.denx.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.