lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1687156559.git.falcon@tinylab.org>
Date:   Mon, 19 Jun 2023 14:52:31 +0800
From:   Zhangjin Wu <falcon@...ylab.org>
To:     w@....eu
Cc:     arnd@...db.de, falcon@...ylab.org, linux-kernel@...r.kernel.org,
        linux-kselftest@...r.kernel.org, thomas@...ch.de
Subject: [PATCH v2 0/3] selftests/nolibc: improve test report support

Hi, Willy

Here is the v2 of our old patchset about test report [1].

The trailing '\r' fixup has been merged, so, here only resend the left
parts with an additional patch to restore the failed tests print.

This patchset is rebased on the dev.2023.06.14a	branch of linux-rcu [2].

Tests have passed for 'x86 run':

    138 test(s) passed, 0 skipped, 0 failed.
    See all results in /labs/linux-lab/src/linux-stable/tools/testing/selftests/nolibc/run.out

Also did 'run-user' for x86, mips and arm64.

Changes from v1 -> v2:

1. selftests/nolibc: add a standalone test report macro

  As Willy pointed out, the old method with additional test-report
  target not work in 'make -j'.

  A new macro is added to share the same report logic among the
  run-user, run and rerun targets, the path to test log file is 

2. selftests/nolibc: always print the path to test log file

  Always print the path to test log file, but move it to a new line to
  avoid annoying people when the test pass without any failures.

3. selftests/nolibc: restore the failed tests print

  Restore printing of the failed tests to avoid manually opening
  the test log file when there are really failues.

Best regards,
Zhangjin
---
[1]: https://lore.kernel.org/lkml/cover.1685936428.git.falcon@tinylab.org/
[2]: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git/

Zhangjin Wu (3):
  selftests/nolibc: add a standalone test report macro
  selftests/nolibc: always print the path to test log file
  selftests/nolibc: restore the failed tests print

 tools/testing/selftests/nolibc/Makefile | 19 +++++++------------
 1 file changed, 7 insertions(+), 12 deletions(-)

-- 
2.25.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ