Utilty script that runs qdoc tests and measures code coverage
-
Perequesties
- Qt Binaries ( qmake, qtcore, qtdeclrative)
- lcov ( git clone https://github.com/linux-test-project/lcov.git )
-
Usage
export QT_BIN_DIR= -> where qmake is located export COV_WORKDIR= -> path to workdir ./runner.sh -branch 5.15 firefox $COV_WORKDIR/HTML/index.html
-
Note
- Script depepends on prebuild qt libraries ( qtcore and qtdeclrative ) and qmake
- If you don't have qttools yet, it will clone and build it for you ( 1 time only )
- lcov binaries will be downloaded and upacked if $LCOV_DIR is empty ( 1 time only )
-
Limitiations
- Qdoc tests invocations are harcoded for now