Filip Tehlar | 229f5fc | 2022-08-09 14:44:47 +0000 | [diff] [blame] | 1 | #!/usr/bin/env bash |
2 | |||||
3 | source vars | ||||
Maros Ondrejicka | 8753180 | 2022-12-19 20:35:27 +0100 | [diff] [blame] | 4 | |
5 | for ARG in "$@" | ||||
6 | do | ||||
7 | if [[ "$ARG" = "-p" ]] | ||||
8 | then | ||||
9 | export HST_PERSIST=1 | ||||
10 | shift | ||||
11 | elif [[ "$ARG" = "-v" ]] | ||||
12 | then | ||||
13 | export HST_VERBOSE=1 | ||||
14 | shift | ||||
15 | fi | ||||
16 | done | ||||
17 | |||||
18 | sudo -E go test -buildvcs=false -v $@ |