[Swan-dev] test suite didn't start at the beginning -- why?

Paul Wouters paul at nohats.ca
Sun Aug 17 18:14:09 EEST 2014


On Sun, 17 Aug 2014, D. Hugh Redelmeier wrote:

> For some reason, it picked up in the middle.  The first test it ran
> was ikev2-11-simple-psk
> This is certainly not what I want.
>
> I take it that this is a feature because it must have taken work to
> make it work this way.
>
> Why is this a feature?  Can I get the behaviour I want?
>
> (I see in the console output
>
> INFO:root:** found file ./TESTLIST **
> INFO:root:testresult directory /home/build/results exist
> INFO:root:sub directory /home/build/results/2014-08-17 exist
>
> I'm going to delete that result file to see if the thing starts doing
> what I want.
>
> I'd expect to be able to run the tests multiple times a day but this
> filename suggests that I'd be wrong.

If you run a single test, it will always run it, eg:

cd libreswan/testing/pluto/basicpluto-01/
../../utils/dotest.py

If you run the entire set, it will continue where it left of, g:

cd libreswan/testing/pluto/
../utils/dotest.py

> Oh, and why does the makefile think it has the right to use ~/results?
> All my libreswan stuff is supposed to be within a subtree ~/libreswan.

Edit your libreswan/kvmsetup.sh to put it inside your libreswan
directory.

Paul


More information about the Swan-dev mailing list