contrib/vagrant/run-tests.sh
author Yuya Nishihara <yuya@tcha.org>
Sat, 04 Jul 2015 10:54:03 +0900
changeset 25733 f99c066f5f9a
parent 21874 8da01b6e7b49
permissions -rw-r--r--
import-checker: recurse into subtree of sys.path only if __init__.py exists We can't assume that the site-packages is the only directory that has Python files but is not handled as a package. For example, we have dist-packages directory on Debian.

#!/bin/sh
# This scripts is used to setup temp directory in memory
# for running Mercurial tests in vritual machine managed
# by Vagrant (see Vagrantfile for details).

cd /hgshared
make local
cd tests
mkdir /tmp/ram
sudo mount -t tmpfs -o size=100M tmpfs /tmp/ram
export TMPDIR=/tmp/ram
./run-tests.py -l --time