Debian Codegraph @

test/integration/targets/ansible-test-installed/runme.sh

raw
1 #!/usr/bin/env bash
2
3 base_dir="$(dirname "$(dirname "$(dirname "$(dirname "${OUTPUT_DIR}")")")")"
4 bin_dir="${base_dir}/bin"
5
6 source ../collection/setup.sh
7 source virtualenv.sh
8
9 unset PYTHONPATH
10
11 # find the bin entry points to test
12 ls "${bin_dir}" > tests/integration/targets/installed/entry-points.txt
13
14 # deps are already installed, using --no-deps to avoid re-installing them
15 pip install "${base_dir}" --disable-pip-version-check --no-deps
16
17 # verify entry point generation without delegation
18 ansible-test integration --color --truncate 0 "${@}"
19
20 # verify entry point generation with same-host delegation
21 ansible-test integration --venv --color --truncate 0 "${@}"