Skip to content

Commit

Permalink
Fix CGO_ENABLED for TPM simulator tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hslatman committed Jun 7, 2023
1 parent 24f412b commit c2407d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ defaulttest:
$Q $(GOFLAGS) gotestsum -- -coverpkg=./... -coverprofile=defaultcoverage.out -covermode=atomic ./...

simulatortest:
$Q $(GOFLAGS) CGO_ENALBED=1 gotestsum -- -coverpkg=./tpm -coverprofile=simulatorcoverage.out -covermode=atomic -tags tpmsimulator ./tpm
$Q $(GOFLAGS) CGO_ENABLED=1 gotestsum -- -coverpkg=./tpm -coverprofile=simulatorcoverage.out -covermode=atomic -tags tpmsimulator ./tpm

combinecoverage:
cat defaultcoverage.out simulatorcoverage.out > coverage.out
Expand Down

0 comments on commit c2407d1

Please sign in to comment.