Skip to content

Commit f13e82c

Browse files
committed
FAB-3422 ignore mocks directories
ignore mocks, test and bddtests directories in unit-tests and code coverage reports Change-Id: Ib490861049c1967880487e98bf82b6841e86f1b4 Signed-off-by: rameshthoomu <[email protected]>
1 parent 852997a commit f13e82c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

unit-test/run.sh

+5-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ echo -n "Obtaining list of tests to run for the following packages: ${TEST_PKGS}
1111
PKGS=`go list ${TEST_PKGS} 2> /dev/null | \
1212
grep -v /vendor/ | \
1313
grep -v /build/ | \
14-
grep -v /bddtests/ | \
14+
grep -v /bddtests | \
15+
grep -v /orderer/mocks | \
16+
grep -v /common/mocks | \
17+
grep -v /core/mocks | \
18+
grep -v /test | \
1519
grep -v /examples/chaincode/chaintool/ | \
1620
grep -v /examples/chaincode/go/asset_management | \
1721
grep -v /examples/chaincode/go/utxo | \

0 commit comments

Comments
 (0)