[Swan-dev] incremental kvm test builds

Andrew Cagney andrew.cagney at gmail.com
Wed May 27 21:41:35 EEST 2015


On 27 May 2015 at 13:35, Antony Antony <antony at phenome.org> wrote:
> On Wed, May 27, 2015 at 09:59:45AM -0400, Andrew Cagney wrote:
>> Just a heads up.  I've changed the kvm-* targets such as:
>>   make kvm-update
>> so that they perform incremental builds.  I.e., they do not delete
>> $(OBJDIR) (== KVM_OBJDIR == OBJ.kvm) before running make.
>
> how does incremental make work when switching to a different git branch?

The same way as an incremental build / install on the local machine,
caveat emptor.

> will an incremental make figure out switching branch and re-build? If not I prefer to use make check UPDATEONLY=1
> otherwise I will forget when I swtich branches and run "make check" and the binary will be from a different branch.

> Also remember the guest vms may not have correct itme, mostly time will be wrong.

Could be a bug in how our VMs are configured.  Good test diagnostics
need reliable time (unless we're doing something weird like testing
kerberos :-).


More information about the Swan-dev mailing list