File: test.sh

package info (click to toggle)
golang-gitlab-gitlab-org-labkit 1.17.0-4
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,092 kB
  • sloc: sh: 210; javascript: 49; makefile: 4
file content (23 lines) | stat: -rwxr-xr-x 396 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/env sh

set -eux

IFS="$(printf '\n\t')"

dir=$(cd -- "$(dirname -- "$0")" && pwd)

cd "${dir}"

for build_tags in \
  "" \
  "tracer_static tracer_static_jaeger tracer_static_lightstep tracer_static_datadog tracer_static_stackdriver" \
  "continuous_profiler_stackdriver" \
  ; do
  (

    go test \
    -race \
    -tags "${build_tags} ${REQUIRED_BUILD_TAGS:-}" \
    ./...
  )
done