public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
From: Stefano Brivio <sbrivio@redhat.com>
To: passt-dev@passt.top
Cc: David Gibson <david@gibson.dropbear.id.au>
Subject: [PATCH v3 0/5] Test cases to display memory usage in kernel and userspace
Date: Thu,  3 Nov 2022 00:13:02 +0100	[thread overview]
Message-ID: <20221102231307.378109-1-sbrivio@redhat.com> (raw)

Note that 2/5 is not actually needed for the purposes of these "test
cases" (which always succeed, at the moment), it just fixes a
condition I hit while writing them.

v3: In 5/5, drop useless conditionals and teardown steps as pointed
    out by David

v2: Actually include passt.mem.mbuto in 5/5, and move the introduction
    of INITRAMFS_MEM for the setup function there

Stefano Brivio (5):
  test/lib: Move screen-scraping setup and layout functions to _ugly
    files
  tap: Support for detection of existing sockets on ramfs
  test/lib/perf_report: Use own flag to track initialisation
  test/lib: Add "td" directive, handled by table_value()
  test: Add memory/passt test cases

 tap.c                |   3 +-
 test/Makefile        |   5 +-
 test/lib/layout      |  69 ----------------
 test/lib/layout_ugly | 117 +++++++++++++++++++++++++++
 test/lib/perf_report |   9 ++-
 test/lib/setup       |  23 ------
 test/lib/setup_ugly  |  72 +++++++++++++++++
 test/lib/term        |  28 +++++++
 test/lib/test        |   3 +
 test/memory/passt    | 187 +++++++++++++++++++++++++++++++++++++++++++
 test/passt.mem.mbuto |  42 ++++++++++
 test/run             |   6 ++
 12 files changed, 467 insertions(+), 97 deletions(-)
 create mode 100644 test/lib/layout_ugly
 create mode 100755 test/lib/setup_ugly
 create mode 100644 test/memory/passt
 create mode 100755 test/passt.mem.mbuto

-- 
2.35.1


             reply	other threads:[~2022-11-02 23:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-02 23:13 Stefano Brivio [this message]
2022-11-02 23:13 ` [PATCH v3 1/5] test/lib: Move screen-scraping setup and layout functions to _ugly files Stefano Brivio
2022-11-02 23:13 ` [PATCH v3 2/5] tap: Support for detection of existing sockets on ramfs Stefano Brivio
2022-11-02 23:13 ` [PATCH v3 3/5] test/lib/perf_report: Use own flag to track initialisation Stefano Brivio
2022-11-02 23:13 ` [PATCH v3 4/5] test/lib: Add "td" directive, handled by table_value() Stefano Brivio
2022-11-02 23:13 ` [PATCH v3 5/5] test: Add memory/passt test cases Stefano Brivio
2022-11-03  3:51   ` David Gibson
2022-11-03  6:35     ` Stefano Brivio

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=20221102231307.378109-1-sbrivio@redhat.com \
    --to=sbrivio@redhat.com \
    --cc=david@gibson.dropbear.id.au \
    --cc=passt-dev@passt.top \
    /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.
Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

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 IMAP folder(s).