tasks:
- all: |
cd safcm
- ./ci/run
+ ./ci/run TESTFLAGS=-v
# Also run all tests as root
sudo chown -Rh root:root .
- sudo ./ci/run
+ sudo ./ci/run TESTFLAGS=-v
- all: |
sudo ln -sf /usr/local/bin/gmake /usr/bin/make
cd safcm
- ./ci/run
+ ./ci/run TESTFLAGS=-v
# Also run all tests as root
sudo chown -Rh root:wheel .
- sudo ./ci/run
+ sudo ./ci/run TESTFLAGS=-v
doas ln -sf /usr/local/bin/gmake /usr/bin/make
cd safcm
# Go does not yet support -race on OpenBSD
- ./ci/run GOFLAGS=
+ ./ci/run GOFLAGS= TESTFLAGS=-v
# Also run all tests as root (-R and -h conflict on OpenBSD)
doas chown -R root:wheel .
# Remove $HOME hack once Go 1.16 is available
- doas /bin/sh -c "HOME=$HOME ./ci/run GOFLAGS="
+ doas /bin/sh -c "HOME=$HOME ./ci/run GOFLAGS= TESTFLAGS=-v"
- ln -sf /usr/lib/go-1.16/bin/go $HOME/go/bin
- ln -sf /usr/lib/go-1.16/bin/gofmt $HOME/go/bin
#
- - ./ci/run
+ - ./ci/run TESTFLAGS=-v
debian-sid:
<<: *template-docker
test:
go vet ./...
- go test $(GOFLAGS) ./...
+ go test $(GOFLAGS) $(TESTFLAGS) ./...
clean:
rm -rf remote/helpers/