Skip to content

Commit

Permalink
FAB-3422 ignore mocks directories
Browse files Browse the repository at this point in the history
ignore mocks, test and bddtests directories in unit-tests and
code coverage reports

Change-Id: Ib490861049c1967880487e98bf82b6841e86f1b4
Signed-off-by: rameshthoomu <rameshbabu.thoomu@gmail.com>
  • Loading branch information
rameshthoomu committed Apr 27, 2017
1 parent 852997a commit f13e82c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion unit-test/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ echo -n "Obtaining list of tests to run for the following packages: ${TEST_PKGS}
PKGS=`go list ${TEST_PKGS} 2> /dev/null | \
grep -v /vendor/ | \
grep -v /build/ | \
grep -v /bddtests/ | \
grep -v /bddtests | \
grep -v /orderer/mocks | \
grep -v /common/mocks | \
grep -v /core/mocks | \
grep -v /test | \
grep -v /examples/chaincode/chaintool/ | \
grep -v /examples/chaincode/go/asset_management | \
grep -v /examples/chaincode/go/utxo | \
Expand Down

0 comments on commit f13e82c

Please sign in to comment.