PYTHON-5669 setup-tests.sh should support --active (#2648)
This commit is contained in:
parent
a9923507c5
commit
37632e70d6
@ -12,6 +12,7 @@ set -eu
|
||||
# TEST_CRYPT_SHARED If non-empty, install crypt_shared lib.
|
||||
# MONGODB_API_VERSION The mongodb api version to use in tests.
|
||||
# MONGODB_URI If non-empty, use as the MONGODB_URI in tests.
|
||||
# USE_ACTIVE_VENV If non-empty, use the active virtual environment.
|
||||
|
||||
SCRIPT_DIR=$(dirname ${BASH_SOURCE:-$0})
|
||||
|
||||
@ -21,5 +22,5 @@ if [ -f $SCRIPT_DIR/env.sh ]; then
|
||||
fi
|
||||
|
||||
echo "Setting up tests with args \"$*\"..."
|
||||
uv run $SCRIPT_DIR/setup_tests.py "$@"
|
||||
uv run ${USE_ACTIVE_VENV:+--active} "$SCRIPT_DIR/setup_tests.py" "$@"
|
||||
echo "Setting up tests with args \"$*\"... done."
|
||||
|
||||
Loading…
Reference in New Issue
Block a user