linux-kselftest.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v1 0/3] selftests: rds selftest
@ 2024-06-26  1:28 allison.henderson
  2024-06-26  1:28 ` [PATCH net-next v1 1/3] .gitignore: add .gcda files allison.henderson
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: allison.henderson @ 2024-06-26  1:28 UTC (permalink / raw)
  To: netdev
  Cc: linux-kselftest, rds-devel, linux-rdma, oberpar, chuck.lever,
	vegard.nossum, Allison Henderson

From: Allison Henderson <allison.henderson@oracle.com>

Hi All,

This series is a new selftest that Vegard, Chuck and myself have been
working on to provide some test coverage for rds.  I've made quite a few
updates since the rfc sent a few weeks ago:

  I've added several knobs to the script to tune network turbulance, and
  documented their usage in the README.txt.  By default these options
  are left off.

  Added an extra flag to specify log location

  I've also added a flag to the config.sh to skip gcov configurations if
  the coverage report is not desired.  run.sh has been adapted to skip
  the report if the required configs are not present, or if the required
  packages are not available

  A time out has been added to prevent the test from hanging
  indefinitely

  The previous gcov issues have been resolved with an appropriate gcov
  patch, as well as some extra logic to detect incompatible gcov and gcc
  versions.

  The shellcheck nits reported in the last review have been addressed

  In order to return an appropriate exit code, the run.sh script has
  been adapted to analyze the test.py strace, and determine if the test
  passed, failed or timed out.

  RDS specific GCOV configs have been documented under
  Documentation/dev-tools/gcov.rst

Questions and comments appreciated.  Thanks everyone!

Allison

Vegard Nossum (3):
  .gitignore: add .gcda files
  net: rds: add option for GCOV profiling
  selftests: rds: add testing infrastructure

 .gitignore                                 |   1 +
 Documentation/dev-tools/gcov.rst           |  11 +
 MAINTAINERS                                |   1 +
 net/rds/Kconfig                            |   9 +
 net/rds/Makefile                           |   5 +
 tools/testing/selftests/Makefile           |   1 +
 tools/testing/selftests/net/rds/Makefile   |  13 +
 tools/testing/selftests/net/rds/README.txt |  41 ++++
 tools/testing/selftests/net/rds/config.sh  |  56 +++++
 tools/testing/selftests/net/rds/init.sh    |  69 ++++++
 tools/testing/selftests/net/rds/run.sh     | 271 +++++++++++++++++++++
 tools/testing/selftests/net/rds/test.py    | 251 +++++++++++++++++++
 12 files changed, 729 insertions(+)
 create mode 100644 tools/testing/selftests/net/rds/Makefile
 create mode 100644 tools/testing/selftests/net/rds/README.txt
 create mode 100755 tools/testing/selftests/net/rds/config.sh
 create mode 100755 tools/testing/selftests/net/rds/init.sh
 create mode 100755 tools/testing/selftests/net/rds/run.sh
 create mode 100644 tools/testing/selftests/net/rds/test.py

-- 
2.25.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-07-12 20:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-26  1:28 [PATCH net-next v1 0/3] selftests: rds selftest allison.henderson
2024-06-26  1:28 ` [PATCH net-next v1 1/3] .gitignore: add .gcda files allison.henderson
2024-06-26  1:28 ` [PATCH net-next v1 2/3] net: rds: add option for GCOV profiling allison.henderson
2024-06-27 23:28   ` Jakub Kicinski
2024-06-26  1:28 ` [PATCH net-next v1 3/3] selftests: rds: add testing infrastructure allison.henderson
2024-06-27 23:32   ` Jakub Kicinski
2024-07-12 20:16     ` Allison Henderson

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).