Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languageshell
titleUseful 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
languageshell
titleUT with coverage report
python3 build_ut.py -cov

Run UTs with Valgrind to check memory leaks

Code Block
languageshell
titleRun UT with Valgrind
python3 build_ut.py -val

Component Tests

Running all CTs:

Code Block
languageshell
titleRunning all CTs
python3 build_ct.py

Useful options/flags are the same as in build_ut.py script


Rialto-Gstreamer

tbd

Rialto-Ocdm

...