summaryrefslogtreecommitdiff
path: root/contrib/cirrus/unit_test.sh
blob: c6c77d17e35522005b5523b33e4ff1d34d1bb8cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash

set -e

source $(dirname $0)/lib.sh

req_env_var GOSRC

cd "$GOSRC"
make install.tools
make localunit

case "$SPECIALMODE" in
    in_podman) ;&
    rootless) ;&
    none)
        make
        ;;
    *)
        die 109 "Unsupported \$SPECIAL_MODE: $SPECIALMODE"
esac