
other OpenStack projects run tests. Basically, adds the standard run_tests.sh script, modifies the run_tests.py script to do the following: a) Correctly create a test configuration file that is passed to keystone-manage and keystone. This allows you to test keystone on a server that already has keystone running on it b) Some DRY cleanup around the removal of database files that get created in the course of testing c) Creates a virtualenv automatically with the -V (-f) flag, which reads the tools/pip-requires file and constructs a virtualenv with all dependencies installed Change-Id: I8defa5956a7f23258936d04a11655d36a71226ec
5 lines
93 B
Bash
Executable File
5 lines
93 B
Bash
Executable File
#!/bin/bash
|
|
TOOLS=`dirname $0`
|
|
VENV=$TOOLS/../.keystone-venv
|
|
source $VENV/bin/activate && $@
|