* How to see raw output from 'make test'?
@ 2019-03-07 5:35 Jeffrey Walton
2019-03-07 5:59 ` Jeff King
0 siblings, 1 reply; 2+ messages in thread
From: Jeffrey Walton @ 2019-03-07 5:35 UTC (permalink / raw)
To: Git List
Hi Everyone,
I built Git 2.2.0 from sources. I added CFLAGS="-DNDEBUG -g2 -O1
-fsantize=undefined'. Then, a 'make test V=1'. The tests don't produce
output. For example:
*** t0021-conversion.sh ***
ok 1 - setup
ok 2 - check
ok 3 - expanded_in_repo
ok 4 - filter shell-escaped filenames
ok 5 - required filter should filter data
ok 6 - required filter smudge failure
ok 7 - required filter clean failure
ok 8 - filtering large input to small output should use little memory
ok 9 - filter that does not read is fine
Yet when I grep for 'runtime error' I am getting some hits for
undefined behavior:
git-2.21.0$ grep -IR 'runtime error'
t/trash directory.t0021-conversion/err:sha1dc/sha1.c:392:2: runtime
error: load of misaligned address 0x000002d7d1d5 for type 'const
uint32_t', which requires 4 byte alignment
t/trash directory.t0021-conversion/err:sha1dc/sha1.c:397:2: runtime
error: load of misaligned address 0x000002d7d1d5 for type 'const
uint32_t', which requires 4 byte alignment
t/trash directory.t0021-conversion/err:sha1dc/sha1.c:402:2: runtime
error: load of misaligned address 0x000002d7d1d5 for type 'const
uint32_t', which requires 4 byte alignment
t/trash directory.t0021-conversion/err:sha1dc/sha1.c:407:2: runtime
error: load of misaligned address 0x000002d7d1d5 for type 'const
uint32_t', which requires 4 byte alignment
...
How do I get the full output from 'make test'?
Thanks in advance.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to see raw output from 'make test'?
2019-03-07 5:35 How to see raw output from 'make test'? Jeffrey Walton
@ 2019-03-07 5:59 ` Jeff King
0 siblings, 0 replies; 2+ messages in thread
From: Jeff King @ 2019-03-07 5:59 UTC (permalink / raw)
To: Jeffrey Walton; +Cc: Git List
On Thu, Mar 07, 2019 at 12:35:58AM -0500, Jeffrey Walton wrote:
> I built Git 2.2.0 from sources. I added CFLAGS="-DNDEBUG -g2 -O1
> -fsantize=undefined'. Then, a 'make test V=1'. The tests don't produce
> output. For example:
>
> *** t0021-conversion.sh ***
> ok 1 - setup
> [...]
Try:
make test GIT_TEST_OPTS=-v
Or if you have a specific test that's failing, you can just do:
make
cd t
./t0021-conversion.sh -v -i
(the "-i" will stop at the failing test).
-Peff
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-03-07 5:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-07 5:35 How to see raw output from 'make test'? Jeffrey Walton
2019-03-07 5:59 ` Jeff King
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).