internal/testrand: random package for testing
MODIFY
.travis/script.d/test-coverage.sh
.travis/script.d/test-coverage.sh
@@ -49,8 +49,8 @@ testCover() {
# Init coverage.txt
echo "mode: ${MODE}" > $ACC_OUT
-# Run test coverage on all directories containing go files except testlapack testblas and testgraph.
-find . -type d -not -path '*testlapack*' -and -not -path '*testblas*' -and -not -path '*testgraph*' | while read d; do testCover $d || exit; done
+# Run test coverage on all directories containing go files except testlapack, testblas, testgraph and testrand.
+find . -type d -not -path '*testlapack*' -and -not -path '*testblas*' -and -not -path '*testgraph*' -and -not -path '*testrand*' | while read d; do testCover $d || exit; done
# Upload the coverage profile to coveralls.io
[ -n "$COVERALLS_TOKEN" ] && ( goveralls -coverprofile=$ACC_OUT || echo -e '\n\e[31mCoveralls failed.\n' )

internal/testrand: random package for testing