diff --git a/README.md b/README.md index bcbd3dace..3603f59b8 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ A fully asynchronous, [futures]-based Kafka client library for Rust based on [librdkafka]. ## The library -`rust-rdkafka` provides a safe Rust interface to librdkafka. The master branch is currently based on librdkafka 0.11.1. +`rust-rdkafka` provides a safe Rust interface to librdkafka. The master branch is currently based on librdkafka 0.11.3. ### Documentation diff --git a/coverage.sh b/coverage.sh index 125f84296..83ec20a81 100755 --- a/coverage.sh +++ b/coverage.sh @@ -26,23 +26,38 @@ echo -e "${GREEN}*** Rebuilding tests ***${NC}" cargo test --no-run pushd rdkafka-sys && cargo test --no-run && popd -echo -e "${GREEN}*** Run coverage on unit tests ***${NC}" -kcov $KCOV_ARGS "$RDKAFKA_UNIT_TESTS"* -if [ "$?" != "0" ]; then - echo -e "${RED}*** Failure during unit test converage ***${NC}" - exit 1 -fi - -kcov $KCOV_ARGS "$RDKAFKASYS_UNIT_TESTS"* -if [ "$?" != "0" ]; then - echo -e "${RED}*** Failure during rdkafka-sys unit test converage ***${NC}" - exit 1 -fi +echo -e "${GREEN}*** Run coverage on rdkafka unit tests ***${NC}" +for test_file in `ls "$RDKAFKA_UNIT_TESTS"*` +do + if [[ ! -x "$test_file" ]]; then + continue + fi + kcov $KCOV_ARGS "$test_file" + if [ "$?" != "0" ]; then + echo -e "${RED}*** Failure during unit test converage ***${NC}" + exit 1 + fi +done -echo -e "${GREEN}*** Run coverage on integration tests ***${NC}" +echo -e "${GREEN}*** Run coverage on rdkafka-sys unit tests ***${NC}" +for test_file in `ls "$RDKAFKASYS_UNIT_TESTS"*` +do + if [[ ! -x "$test_file" ]]; then + continue + fi + kcov $KCOV_ARGS "$test_file" + if [ "$?" != "0" ]; then + echo -e "${RED}*** Failure during rdkafka-sys unit test converage ***${NC}" + exit 1 + fi +done +echo -e "${GREEN}*** Run coverage on rdkafka integration tests ***${NC}" for test_file in `ls "$INTEGRATION_TESTS"*` do + if [[ ! -x "$test_file" ]]; then + continue + fi echo -e "${GREEN}Executing "$test_file"${NC}" kcov $KCOV_ARGS "$test_file" if [ "$?" != "0" ]; then diff --git a/src/lib.rs b/src/lib.rs index 15615b6cc..a17ff2765 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -2,7 +2,7 @@ //! A fully asynchronous, [futures]-based Kafka client library for Rust based on [librdkafka]. //! //! ## The library -//! `rust-rdkafka` provides a safe Rust interface to librdkafka. The master branch is currently based on librdkafka 0.11.1. +//! `rust-rdkafka` provides a safe Rust interface to librdkafka. The master branch is currently based on librdkafka 0.11.3. //! //! ### Documentation //!