[Swan-dev] ../../utils/runkvm.py

Andrew Cagney andrew.cagney at gmail.com
Mon Jul 16 15:20:21 UTC 2018

On Mon, 16 Jul 2018 at 09:01, D. Hugh Redelmeier <hugh at mimosa.com> wrote:
> | From: Paul Wouters <paul at nohats.ca>
> | cd testing/pluto/sometest
> | ../../utils/kvmrunner.py .
> It didn't work for me.  It boils down to:
>         error: Domain not found: no domain with matching name 'road'
> That's because I have this in my Makefile.inc.local:
>         KVM_WORKERS=2
>         KVM_PREFIX=a. b.
> So I have two sets of machines, each with a prefix of a. or b.
> I figured out that this does work:
>         ../../utils/kvmrunner.py --prefix=a. .

Yes,  I've been working on the assumption that 'make' is used to drive
all this - it has complete knowledge of all dependencies (unlike
kvmrunner.py).  However, fighting this is the reality that developers
want an easy way to invoke an individual test.  'make' in a test
directory?  kvmrun.py drive make with correct arguments?

(the alternative would be to hack up something so that kvmrunner
somehow magically parse Makefile.inc.local (I don't want to create yet
another config file).


More information about the Swan-dev mailing list