[PATCH] tests: add Vagrantfile to automate running them on virtual machines

anatoly techtonik techtonik at gmail.com
Tue Jul 15 12:38:19 CDT 2014


On Sat, Jul 12, 2014 at 6:28 AM, Kevin Bullock
<kbullock+mercurial at ringworld.org> wrote:
> On Jul 5, 2014, at 11:42 AM, anatoly techtonik <techtonik at gmail.com> wrote:
>> +
>> +Vagrant.configure('2') do |config|
>> +  # Debian 7.4 32-bit i386 without configuration management software
>> +  config.vm.box = "puppetlabs/debian-7.4-32-nocm"
>> +  #config.vm.box = "pnd/debian-wheezy32-basebox"
>> +  config.vm.hostname = "tests"
>> +
>> +  config.vm.define "tests" do |conf|
>> +    conf.vm.provision :file, source: "contrib/test.run-tests", destination:"run-tests"
>
> Why not just make VirtualBox mount the repo root so that we can run tests the normal way? Make the provisioning script create the ramdisk (and export TMPDIR=/tmp/ram ?).

I am not sure that ramdisk will persist between reboots. Provisioning
is done only once.
-- 
anatoly t.


More information about the Mercurial-devel mailing list