github.com/containers/libpod@v1.9.4-0.20220419124438-4284fd425507/contrib/cirrus/unit_test.sh (about)

     1  #!/bin/bash
     2  
     3  set -e
     4  
     5  source $(dirname $0)/lib.sh
     6  
     7  req_env_var GOSRC
     8  
     9  cd "$GOSRC"
    10  make install.tools
    11  make localunit
    12  
    13  case "$SPECIALMODE" in
    14      in_podman) ;&
    15      bindings) ;&
    16      rootless) ;&
    17      none)
    18          make
    19          ;;
    20      *)
    21          die 109 "Unsupported \$SPECIAL_MODE: $SPECIALMODE"
    22  esac