comparison contrib/vagrant/run-tests.sh @ 21874:8da01b6e7b49

contrib/vagrant: use Vagrant for running tests on virtual machine $ cd contrib/vagrant $ vagrant up $ vagrant ssh -c ./run-tests.sh Repository is shared at /hgshared in guest machine.
author anatoly techtonik <techtonik@gmail.com>
date Sat, 05 Jul 2014 16:32:28 +0300
parents
children
comparison
equal deleted inserted replaced
21873:cf599f8a2da8 21874:8da01b6e7b49
1 #!/bin/sh
2 # This scripts is used to setup temp directory in memory
3 # for running Mercurial tests in vritual machine managed
4 # by Vagrant (see Vagrantfile for details).
5
6 cd /hgshared
7 make local
8 cd tests
9 mkdir /tmp/ram
10 sudo mount -t tmpfs -o size=100M tmpfs /tmp/ram
11 export TMPDIR=/tmp/ram
12 ./run-tests.py -l --time
13