Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1508619

[PATCH 0/2] x86: use stdout for success and stdout for failure

From Paul Bolle <pebolle@tiscali.nl>
Newsgroups linux.kernel
Subject [PATCH 0/2] x86: use stdout for success and stdout for failure
Date 2016-10-25 23:00 +0200
Message-ID <swgZb-2cL-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


For some time now my x86 builds are warning free. Yay! But there's still one
single line printed to stderr:
    Succeed: decoded and checked 1767380 instructions

This message is printed if the "insn decoder test" ran successful. Patch 1/2
sends this message to stdout (and fixes the typo).

Patch 2/2 does the reverse for the "insn sanity test": it sends a message to
stderr if that test fails.

One thing puzzles me about these two tests: I must have run them hundreds of
times but I've never seen them fail. Have other people ran into failures?

Paul Bolle (2):
  x86: use stdout if insn decoder test is successful
  x86: use stderr if insn sanity test fails

 arch/x86/tools/insn_sanity.c  | 3 ++-
 arch/x86/tools/test_get_len.c | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

-- 
2.7.4

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] x86: use stdout for success and stdout for failure Paul Bolle <pebolle@tiscali.nl> - 2016-10-25 23:00 +0200
  [PATCH 2/2] x86: use stderr if insn sanity test fails Paul Bolle <pebolle@tiscali.nl> - 2016-10-25 23:00 +0200
    [tip:x86/asm] x86/decoder: Use stderr if insn sanity test fails tip-bot for Paul Bolle <tipbot@zytor.com> - 2016-10-26 09:00 +0200
  [PATCH 1/2] x86: use stdout if insn decoder test is successful Paul Bolle <pebolle@tiscali.nl> - 2016-10-25 23:00 +0200
    [tip:x86/asm] x86/decoder: Use stdout if insn decoder test is  successful tip-bot for Paul Bolle <tipbot@zytor.com> - 2016-10-26 09:00 +0200

csiph-web