This repository has been archived by the owner on May 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 460
Run CI smoke tests
Oleg Nabiullin edited this page Jul 11, 2019
·
12 revisions
Before running tests ensure that required packages are installed:
git
git-lfs
python >= 3.6
python distro package
As for default we assume:
MediaStack tarball installed using install_media.sh
or
Media SDK has been previously compiled and installed to /opt/intel/mediasdk
Media driver has been compiled and installed to /opt/intel/msdk_driver
#!/bin/bash
# If you have different configuration specify it as followed
MSDK_CMAKE_INSTALL_PREFIX=/opt/intel/mediasdk
DRIVER_CMAKE_INSTALL_PREFIX=/opt/intel/mediasdk
# DRIVER_CMAKE_INSTALL_PREFIX=/opt/intel/msdk_driver # this work in public CI
# 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
# Path to sample binaries
export PATH=$PATH:/opt/intel/mediasdk/share/mfx/samples/_bin
# 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
chmod +x run_tests.sh
./run_tests.sh
- Media SDK for Linux
- Media SDK for Windows
- FFmpeg QSV
- GStreamer MSDK
- Docker
- Usage guides
- Building Media SDK
- Running Media SDK CI tests
- Additional information
- Multi-Frame Encode