filecoin-project / specs-actors

DEPRECATED Specification of builtin actors, in the form of executable code.
Other
86 stars 102 forks source link

Suppress echoing of command when comparing test vector digest. #1543

Closed anorth closed 2 years ago

anorth commented 2 years ago

The echoing of the 'if' block can be confusing because the body contains 'exit 1', which looks like a failure, even though the exit is not executed.

Clean build output now looks like:

go test -race ./actors/migration/nv15/test
ok      github.com/filecoin-project/specs-actors/v7/actors/migration/nv15/test  (cached)
go mod tidy
rm -rf test-vectors/determinism
SPECS_ACTORS_DETERMINISM="../../test-vectors/determinism" go test ./actors/test -count=1
ok      github.com/filecoin-project/specs-actors/v7/actors/test 110.041s
go build ./test-vectors/tools/digest
codecov-commenter commented 2 years ago

Codecov Report

Merging #1543 (dbffab9) into master (4d19cab) will not change coverage. The diff coverage is n/a.

@@          Coverage Diff           @@
##           master   #1543   +/-   ##
======================================
  Coverage    69.3%   69.3%           
======================================
  Files          72      72           
  Lines        8737    8737           
======================================
  Hits         6060    6060           
  Misses       1817    1817           
  Partials      860     860