aboutsummaryrefslogtreecommitdiff
path: root/contrib/cirrus/unit_test.sh
blob: 2852c31ae9503c010f17df933e1671b27248f36f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/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) ;&
    bindings) ;&
    rootless) ;&
    none)
        make
        ;;
    *)
        die 109 "Unsupported \$SPECIAL_MODE: $SPECIALMODE"
esac