File: runme.sh

package info (click to toggle)
ansible-core 2.19.0~beta6-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 32,628 kB
  • sloc: python: 180,313; cs: 4,929; sh: 4,601; xml: 34; makefile: 21
file content (21 lines) | stat: -rwxr-xr-x 665 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/env bash

base_dir="$(dirname "$(dirname "$(dirname "$(dirname "${OUTPUT_DIR}")")")")"
bin_dir="${base_dir}/bin"

source ../collection/setup.sh
source virtualenv.sh

unset PYTHONPATH

# find the bin entry points to test
ls "${bin_dir}" > tests/integration/targets/installed/entry-points.txt

# deps are already installed, using --no-deps to avoid re-installing them
pip install "${base_dir}" --disable-pip-version-check --no-deps

# verify entry point generation without delegation
ansible-test integration --color --truncate 0 "${@}"

# verify entry point generation with same-host delegation
ansible-test integration --venv --color --truncate 0 "${@}"