Skip to content

Commit b7b4107

Browse files
committed
tests: use go test -a to work around Go caching
Go does not notice when the C code changes, so we have to use `go test -a`. Workaround for golang/go#24355 .
1 parent 4139165 commit b7b4107

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Makefile

+3-1
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,6 @@ format: earlyoom
8181
clang-format -i *.h *.c
8282

8383
test: earlyoom
84-
cd tests ; go test -v
84+
# Go does not notice when the C code changes, so we have to
85+
# use `go test -a`. See https://github.com/golang/go/issues/24355 .
86+
cd tests && go test -a -v

0 commit comments

Comments
 (0)