trove/tools/start-fake-mode.sh
ljhuang 476c5f89c7 Changed py39 from py27 in tox
Changed py39 from py27 in tox for contributing doc

Change-Id: Ia079b7b7f5d96858c7dfe4b3d103c0efd86ae68b
2022-07-29 10:26:28 +08:00

19 lines
379 B
Bash
Executable File

#!/usr/bin/env bash
# Arguments: Use --pid_file to specify a pid file location.
if [ ! -d ".tox/py39" ]; then
tox -epy39
fi
function run() {
.tox/py39/bin/python $@
}
run bin/trove-manage \
--config-file=etc/trove/trove.conf.test db_recreate \
trove_test.sqlite mysql fake
run bin/trove-fake-mode \
--fork --config-file=etc/trove/trove.conf.test \
$@