summaryrefslogtreecommitdiff
path: root/vendor/codeberg.org/gruf/go-debug/run_tests.sh
blob: f7ef1d60d47e12cfafd51c9685e96ba55fba2566 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

(
    # Run in subshell with cmd echo
    set -ex

    # Run debug tests
    DEBUG=  go test -tags= -v
    DEBUG=  go test -tags=debug -v
    DEBUG=  go test -tags=debugenv -v
    DEBUG=y go test -tags=debugenv -v
    DEBUG=1 go test -tags=debugenv -v
    DEBUG=y go test -tags=debugenv,debug -v
    DEBUG=y go test -tags= -v
)

echo 'success!'