contrib/vagrant/run-tests.sh
author Pierre-Yves David <pierre-yves.david@octobus.net>
Tue, 11 Apr 2023 21:56:16 +0200
changeset 51161 f816ca29a285
parent 21874 8da01b6e7b49
permissions -rw-r--r--
setup: try a non-pure version of the local Mercurial if the pure fails Things like `zstd` can make the pure version fails.

#!/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