public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH v4 0/5] Test cases to display memory usage in kernel and userspace
@ 2022-11-03  6:33 Stefano Brivio
  2022-11-03  6:33 ` [PATCH v4 1/5] test/lib: Move screen-scraping setup and layout functions to _ugly files Stefano Brivio
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Stefano Brivio @ 2022-11-03  6:33 UTC (permalink / raw)
  To: passt-dev; +Cc: David Gibson

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.

v4: Fold changes by David: use a dummy interface for the purpose of
    starting passt, and drop setup and teardown steps related to the
    "outer" instance of passt, now gone. Install passt in /bin
    instead of /usr/bin, but also add a link

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 | 113 ++++++++++++++++++++++++++
 test/lib/perf_report |   9 ++-
 test/lib/setup       |  23 ------
 test/lib/setup_ugly  |  58 ++++++++++++++
 test/lib/term        |  28 +++++++
 test/lib/test        |   3 +
 test/memory/passt    | 187 +++++++++++++++++++++++++++++++++++++++++++
 test/passt.mem.mbuto |  44 ++++++++++
 test/run             |   6 ++
 12 files changed, 451 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


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

end of thread, other threads:[~2022-11-04  0:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-03  6:33 [PATCH v4 0/5] Test cases to display memory usage in kernel and userspace Stefano Brivio
2022-11-03  6:33 ` [PATCH v4 1/5] test/lib: Move screen-scraping setup and layout functions to _ugly files Stefano Brivio
2022-11-03  6:33 ` [PATCH v4 2/5] tap: Support for detection of existing sockets on ramfs Stefano Brivio
2022-11-03  6:33 ` [PATCH v4 3/5] test/lib/perf_report: Use own flag to track initialisation Stefano Brivio
2022-11-03  6:33 ` [PATCH v4 4/5] test/lib: Add "td" directive, handled by table_value() Stefano Brivio
2022-11-03  6:33 ` [PATCH v4 5/5] test: Add memory/passt test cases Stefano Brivio
2022-11-04  0:27   ` David Gibson

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