aboutsummaryrefslogtreecommitdiff
path: root/tests/rt_generic_based_on.sh
blob: 08498be4d16c2b566d71e45b7afe7ffc51d63344 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/usr/bin/env bash
here="$(dirname ${BASH_SOURCE[0]})"
source $here/setup.sh

TEST_NAME=gbo
PYTHON_VERSIONS=(
    3.11
)
setup_workspace "$TEST_NAME"
run_command install_stasis

ln -s "$TEST_DATA"/"$TEST_NAME".yml
for py_version in "${PYTHON_VERSIONS[@]}"; do
    run_command run_stasis --python "$py_version" \
        --no-docker \
        --no-artifactory \
        "$TEST_DATA"/"$TEST_NAME".ini
done

check_output_add "(null)"
run_command check_output_stasis_dir stasis/*/output
check_output_reset

# NOTE: indexer default output directory is "output"
check_output_add "(null)"
run_command run_stasis_indexer stasis
run_command check_output_indexed_dir output
check_output_reset

teardown_workspace "$TEST_NAME"