public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* "test in a box"
@ 2024-03-15  3:42 David Gibson
  2024-03-15  4:37 ` David Gibson
  2024-03-15  8:41 ` Stefano Brivio
  0 siblings, 2 replies; 3+ messages in thread
From: David Gibson @ 2024-03-15  3:42 UTC (permalink / raw)
  To: Jon Maloy; +Cc: passt-dev

[-- Attachment #1: Type: text/plain, Size: 1050 bytes --]

Hi Jon (and others),

Are you still having trouble getting the passt tests to work?  I
mentioned at some point in the past that I had an experimental "test
in a box" script which set up some namespaces to run the tests
independently of the host's networking setup.  I just rebased that
onto the current tree and discovered that it worked better than I
recalled.  I was able to run the full test suite except for the
performance tests - I didn't try those, so I don't know if they work.

I pushed the rebased version, along with some other local patches I
tend to use while developing at:
	https://gitlab.com/dgibson/passt/-/tree/testbase?ref_type=heads

To use:

1) The test "assets" must be built and up to date, first, so in
   passt/tests run:
   	$ make
2) In passt/tests run
	$ ./testinabox.sh

Hope that's useful to someone.

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

end of thread, other threads:[~2024-03-15  8:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-15  3:42 "test in a box" David Gibson
2024-03-15  4:37 ` David Gibson
2024-03-15  8:41 ` Stefano Brivio

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