Skip to content
This repository was archived by the owner on May 17, 2023. It is now read-only.

Run CI smoke tests

Dmitry Rogozhkin edited this page Jan 29, 2019 · 12 revisions

The documentation below provides information on how to run CI smoke tests locally

This documentation is created to run tests on Linux OS distributions

Before running tests ensure that required packages are installed:
git
python >= 3.6

As for default we assume:
Media SDK has been previously compiled and installed to /opt/intel/mediasdk
Media driver has been compiled and installed to /opt/intel/msdk_driver

Create bash script run_tests.sh

#!/bin/bash

# If you have different configuration specify it as followed 
MSDK_CMAKE_INSTALL_PREFIX=/opt/intel/mediasdk
DRIVER_CMAKE_INSTALL_PREFIX=/opt/intel/msdk_driver

# Export path to Intel Media SDK folder
export MFX_HOME=$MSDK_CMAKE_INSTALL_PREFIX

# Export path to libraries
export LD_LIBRARY_PATH=$MSDK_CMAKE_INSTALL_PREFIX/lib64

# Export path to driver
export LIBVA_DRIVERS_PATH=$DRIVER_CMAKE_INSTALL_PREFIX/lib64

# Clone Infrastructure of Intel Media SDK
git clone https://github.com/Intel-Media-SDK/infrastructure.git

# Run CI Smoke tests 
python3 ./infrastructure/ted/ted.py

# Run special CI hevc-fei smoke tests
python3 ./infrastructure/smoke_test/hevc_fei_smoke_test.py

Note: Make the script executable

chmod +x run_tests.sh

Execute run_tests.sh

./run_tests.sh

Clone this wiki locally