Mercurial > hg
annotate contrib/vagrant/run-tests.sh @ 50407:e8f1e0e295bb
extras: expose 'retained_extras' for extensions to extend
author | Jason R. Coombs <jaraco@jaraco.com> |
---|---|
date | Tue, 21 Mar 2023 17:21:45 -0400 |
parents | 8da01b6e7b49 |
children |
rev | line source |
---|---|
21874
8da01b6e7b49
contrib/vagrant: use Vagrant for running tests on virtual machine
anatoly techtonik <techtonik@gmail.com>
parents:
diff
changeset
|
1 #!/bin/sh |
8da01b6e7b49
contrib/vagrant: use Vagrant for running tests on virtual machine
anatoly techtonik <techtonik@gmail.com>
parents:
diff
changeset
|
2 # This scripts is used to setup temp directory in memory |
8da01b6e7b49
contrib/vagrant: use Vagrant for running tests on virtual machine
anatoly techtonik <techtonik@gmail.com>
parents:
diff
changeset
|
3 # for running Mercurial tests in vritual machine managed |
8da01b6e7b49
contrib/vagrant: use Vagrant for running tests on virtual machine
anatoly techtonik <techtonik@gmail.com>
parents:
diff
changeset
|
4 # by Vagrant (see Vagrantfile for details). |
8da01b6e7b49
contrib/vagrant: use Vagrant for running tests on virtual machine
anatoly techtonik <techtonik@gmail.com>
parents:
diff
changeset
|
5 |
8da01b6e7b49
contrib/vagrant: use Vagrant for running tests on virtual machine
anatoly techtonik <techtonik@gmail.com>
parents:
diff
changeset
|
6 cd /hgshared |
8da01b6e7b49
contrib/vagrant: use Vagrant for running tests on virtual machine
anatoly techtonik <techtonik@gmail.com>
parents:
diff
changeset
|
7 make local |
8da01b6e7b49
contrib/vagrant: use Vagrant for running tests on virtual machine
anatoly techtonik <techtonik@gmail.com>
parents:
diff
changeset
|
8 cd tests |
8da01b6e7b49
contrib/vagrant: use Vagrant for running tests on virtual machine
anatoly techtonik <techtonik@gmail.com>
parents:
diff
changeset
|
9 mkdir /tmp/ram |
8da01b6e7b49
contrib/vagrant: use Vagrant for running tests on virtual machine
anatoly techtonik <techtonik@gmail.com>
parents:
diff
changeset
|
10 sudo mount -t tmpfs -o size=100M tmpfs /tmp/ram |
8da01b6e7b49
contrib/vagrant: use Vagrant for running tests on virtual machine
anatoly techtonik <techtonik@gmail.com>
parents:
diff
changeset
|
11 export TMPDIR=/tmp/ram |
8da01b6e7b49
contrib/vagrant: use Vagrant for running tests on virtual machine
anatoly techtonik <techtonik@gmail.com>
parents:
diff
changeset
|
12 ./run-tests.py -l --time |
8da01b6e7b49
contrib/vagrant: use Vagrant for running tests on virtual machine
anatoly techtonik <techtonik@gmail.com>
parents:
diff
changeset
|
13 |