...
| Code Block |
|---|
| language | shell |
|---|
| title | Useful UT options |
|---|
|
# Forward the output to file:python3 build_ut.py -f output_file.log
# Configure which suite tests you would like to run
# By not supplying this option, all test suites will be run
python3 build_ut.py -s serveripc
# Configure the googletest filter to use when running the tests
# For more details, see: https://github.com/google/googletest/blob/main/docs/advanced.md#running-a-subset-of-the-tests
python3 build_ut.py -gf TestFilter
# e.g.
python3 build_ut.py -gf GstGenericPlayerTest.* |
Generate UT coverage report (it will appear in build directory):
| Code Block |
|---|
| language | shell |
|---|
| title | UT with coverage report |
|---|
|
python3 build_ut.py -cov |
Run UTs with Valgrind to check memory leaks
| Code Block |
|---|
| language | shell |
|---|
| title | Run UT with Valgrind |
|---|
|
python3 build_ut.py -val |
Component Tests
Running all CTs:
| Code Block |
|---|
| language | shell |
|---|
| title | Running all CTs |
|---|
|
python3 build_ct.py |
Useful options/flags are the same as in build_ut.py script
Rialto-Gstreamer
tbd
Rialto-Ocdm
...