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

set -e
source $(dirname $0)/lib.sh

req_env_var GOSRC OS_RELEASE_ID OS_RELEASE_VER

record_timestamp "unit test start"

clean_env

set -x
cd "$GOSRC"
make install.tools
make localunit
make

record_timestamp "unit test end"