[Swan-dev] replace "make check UPDATEONLY=1" with "make update"

Antony Antony antony at phenome.org
Wed Feb 18 22:17:24 EET 2015


my 100% wish. 

make kvmprograms
make kvmprograms install
make kvmmodules
make kvmmodules install

make kvmrpm=libreswan-3.12.rpm install
make check

I am also wondering if it is worth to able to pass options to swantest
make check [options] and the options are passed to "swantest"

I am not a make wizard so not sure all of this is possible.

On Wed, Feb 18, 2015 at 02:12:26PM -0500, Andrew Cagney wrote:
> (more local hacks)
> 
> Paul mentioned I could update all the test VMs by, from the
> testing/pluto directory, entering:
> 
>     make check UPDATE=1
> 
> and then hit cntrl-c a short while later.  Turns out, if you sacrifice
> several chickens (try reading the code for why), you can get:
> 
>     make check UPDATEONLY=1
> 
> to just do the update.
> 
> I'd like to replace this with a simpler and more transparent "update"
> target (or update-kvm or update-vm or update-test-vm or ...).  This
> would mean:
> 
> old: make check
> new: make check
> 
> old: make UPDATE=1 check
> new: make update check
> (that's two less characters to type)
> 
> old: make UPDATEONLY=1 check
> new: make update
> (that's 12 less characters to type!)
> 
> I could probably hold my nose and leave UPDATE=1 but not UPDATEONLY.
> 
> Andrew
> _______________________________________________
> Swan-dev mailing list
> Swan-dev at lists.libreswan.org
> https://lists.libreswan.org/mailman/listinfo/swan-dev
> 


More information about the Swan-dev mailing list