summaryrefslogtreecommitdiff
path: root/test.sh
blob: 0e197faf53da2f72be78eccbdd83dba6fb78b96e (plain)
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
#!/bin/bash
set -ex

CMD="sudo python3 -m tox -- --integration -vv"

TD="tests"
F="${TD}/frontend"
W="${F}/workspace.py::"
P="${F}/push.py::"
S="${F}/show.py::"
I="${TD}/integration"
IW="${I}/workspace.py::"
IS="${I}/shell.py::"

TESTS=(
"${W}test_build"
"${W}test_detect_modifications"
"${W}test_cache_key_workspace_in_dependencies"
"${W}test_close_removed"
"${W}test_inconsitent_pipeline_message"
)

for T in "${TESTS[@]}"; do
    $CMD "${T}"
done