Show More
@@ -0,0 +1,14 | |||||
|
1 | # -*- mode: ruby -*- | |||
|
2 | ||||
|
3 | Vagrant.configure('2') do |config| | |||
|
4 | # Debian 7.4 32-bit i386 without configuration management software | |||
|
5 | config.vm.box = "puppetlabs/debian-7.4-32-nocm" | |||
|
6 | #config.vm.box = "pnd/debian-wheezy32-basebox" | |||
|
7 | config.vm.hostname = "tests" | |||
|
8 | ||||
|
9 | config.vm.define "tests" do |conf| | |||
|
10 | conf.vm.provision :file, source: "run-tests.sh", destination:"run-tests.sh" | |||
|
11 | conf.vm.provision :shell, path: "provision.sh" | |||
|
12 | conf.vm.synced_folder "../..", "/hgshared" | |||
|
13 | end | |||
|
14 | end |
@@ -0,0 +1,10 | |||||
|
1 | #!/bin/sh | |||
|
2 | # This scripts is used to install dependencies for | |||
|
3 | # testing Mercurial. Mainly used by Vagrant (see | |||
|
4 | # Vagrantfile for details). | |||
|
5 | ||||
|
6 | export DEBIAN_FRONTEND=noninteractive | |||
|
7 | apt-get update | |||
|
8 | apt-get install -y -q python-dev unzip | |||
|
9 | # run-tests.sh is added by Vagrantfile | |||
|
10 | chmod +x run-tests.sh |
@@ -0,0 +1,13 | |||||
|
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 |
@@ -1,62 +1,63 | |||||
1 | syntax: glob |
|
1 | syntax: glob | |
2 |
|
2 | |||
3 | *.elc |
|
3 | *.elc | |
4 | *.tmp |
|
4 | *.tmp | |
5 | *.orig |
|
5 | *.orig | |
6 | *.rej |
|
6 | *.rej | |
7 | *~ |
|
7 | *~ | |
8 | *.mergebackup |
|
8 | *.mergebackup | |
9 | *.o |
|
9 | *.o | |
10 | *.so |
|
10 | *.so | |
11 | *.dll |
|
11 | *.dll | |
12 | *.exe |
|
12 | *.exe | |
13 | *.pyd |
|
13 | *.pyd | |
14 | *.pyc |
|
14 | *.pyc | |
15 | *.pyo |
|
15 | *.pyo | |
16 | *$py.class |
|
16 | *$py.class | |
17 | *.swp |
|
17 | *.swp | |
18 | *.prof |
|
18 | *.prof | |
19 | *.zip |
|
19 | *.zip | |
20 | \#*\# |
|
20 | \#*\# | |
21 | .\#* |
|
21 | .\#* | |
22 | tests/.coverage* |
|
22 | tests/.coverage* | |
23 | tests/annotated |
|
23 | tests/annotated | |
24 | tests/*.err |
|
24 | tests/*.err | |
25 | tests/htmlcov |
|
25 | tests/htmlcov | |
26 | build |
|
26 | build | |
27 | contrib/hgsh/hgsh |
|
27 | contrib/hgsh/hgsh | |
|
28 | contrib/vagrant/.vagrant | |||
28 | dist |
|
29 | dist | |
29 | packages |
|
30 | packages | |
30 | doc/common.txt |
|
31 | doc/common.txt | |
31 | doc/*.[0-9] |
|
32 | doc/*.[0-9] | |
32 | doc/*.[0-9].txt |
|
33 | doc/*.[0-9].txt | |
33 | doc/*.[0-9].gendoc.txt |
|
34 | doc/*.[0-9].gendoc.txt | |
34 | doc/*.[0-9].{x,ht}ml |
|
35 | doc/*.[0-9].{x,ht}ml | |
35 | MANIFEST |
|
36 | MANIFEST | |
36 | MANIFEST.in |
|
37 | MANIFEST.in | |
37 | patches |
|
38 | patches | |
38 | mercurial/__version__.py |
|
39 | mercurial/__version__.py | |
39 | mercurial/hgpythonlib.h |
|
40 | mercurial/hgpythonlib.h | |
40 | mercurial.egg-info |
|
41 | mercurial.egg-info | |
41 | .DS_Store |
|
42 | .DS_Store | |
42 | tags |
|
43 | tags | |
43 | cscope.* |
|
44 | cscope.* | |
44 | i18n/hg.pot |
|
45 | i18n/hg.pot | |
45 | locale/*/LC_MESSAGES/hg.mo |
|
46 | locale/*/LC_MESSAGES/hg.mo | |
46 | hgext/__index__.py |
|
47 | hgext/__index__.py | |
47 |
|
48 | |||
48 | # files installed with a local --pure build |
|
49 | # files installed with a local --pure build | |
49 | mercurial/base85.py |
|
50 | mercurial/base85.py | |
50 | mercurial/bdiff.py |
|
51 | mercurial/bdiff.py | |
51 | mercurial/diffhelpers.py |
|
52 | mercurial/diffhelpers.py | |
52 | mercurial/mpatch.py |
|
53 | mercurial/mpatch.py | |
53 | mercurial/osutil.py |
|
54 | mercurial/osutil.py | |
54 | mercurial/parsers.py |
|
55 | mercurial/parsers.py | |
55 |
|
56 | |||
56 | syntax: regexp |
|
57 | syntax: regexp | |
57 | ^\.pc/ |
|
58 | ^\.pc/ | |
58 | ^\.(pydev)?project |
|
59 | ^\.(pydev)?project | |
59 |
|
60 | |||
60 | # hackable windows distribution additions |
|
61 | # hackable windows distribution additions | |
61 | ^hg-python |
|
62 | ^hg-python | |
62 | ^hg.py$ |
|
63 | ^hg.py$ |
General Comments 0
You need to be logged in to leave comments.
Login now