File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -48,10 +48,12 @@ build-go:
4848 go build ./...
4949
5050test :
51- RUST_BACKTRACE=1 go test -v
51+ # Use package list mode to include all subdirectores. The -count=1 turns off caching.
52+ RUST_BACKTRACE=1 go test -v -count=1 ./...
5253
5354test-safety :
54- GODEBUG=cgocheck=2 go test -race -v -count 1
55+ # Use package list mode to include all subdirectores. The -count=1 turns off caching.
56+ GODEBUG=cgocheck=2 go test -race -v -count=1 ./...
5557
5658# Creates a release build in a containerized build environment of the static library for Alpine Linux (.a)
5759release-build-alpine :
@@ -61,8 +63,9 @@ release-build-alpine:
6163 cp libwasmvm/target/release/examples/libmuslc.a api/libwasmvm_muslc.a
6264 make update-bindings
6365 # try running go tests using this lib with muslc
64- docker run --rm -u $(USER_ID ) :$(USER_GROUP ) -v $(shell pwd) :/mnt/testrun -w /mnt/testrun $(ALPINE_TESTER ) go build -tags muslc .
65- docker run --rm -u $(USER_ID ) :$(USER_GROUP ) -v $(shell pwd) :/mnt/testrun -w /mnt/testrun $(ALPINE_TESTER ) go test -tags muslc ./api ./types
66+ docker run --rm -u $(USER_ID ) :$(USER_GROUP ) -v $(shell pwd) :/mnt/testrun -w /mnt/testrun $(ALPINE_TESTER ) go build -tags muslc ./...
67+ # Use package list mode to include all subdirectores. The -count=1 turns off caching.
68+ docker run --rm -u $(USER_ID ) :$(USER_GROUP ) -v $(shell pwd) :/mnt/testrun -w /mnt/testrun $(ALPINE_TESTER ) go test -tags muslc -count=1 ./...
6669
6770# Creates a release build in a containerized build environment of the shared library for glibc Linux (.so)
6871release-build-linux :
You can’t perform that action at this time.
0 commit comments