summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* oeqa/dldt_inference_engine : link to recommended opencl loaderNaveen Saini2020-06-111-2/+2
| | | | | Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* runtime/onednn: Check onednn file existYeoh Ee Peng2020-04-281-3/+3
| | | | | | | | | | Previously, the status return with 0 even though the file required was not exist. Fixed the file exist checking for onednn source file required for compilation testing. Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* runtime/onednn: Update tests as mkldnn rename to onednnYeoh Ee Peng2020-04-282-6/+6
| | | | | | | | Update test pakcages checking and referencing as mkldnn rename to onednn. Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* runtime/intel_vaapi_driver: Set i965 dirver for testsYeoh Ee Peng2020-04-161-2/+4
| | | | | | | | | Set i965 driver for libVA in order to enable vaapi plugin because by default libVA use iHD driver where vaapi plugin was not available. Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* runtime/dldt_inference_engine: Remove cpu extensionYeoh Ee Peng2020-04-141-1/+1
| | | | | | | Remove cpu extension as it was not needed anymore for OpenVINO 2020. Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* runtime/dldt_inference_engine: Check MYRIAD device before testYeoh Ee Peng2020-04-091-2/+10
| | | | | | | Checking MYRIAD device availability before execute MYRIAD test. Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* runtime/tests/dldt_inference_engine_test: Enable check available ie devicesYeoh Ee Peng2020-04-091-0/+8
| | | | | | | Enable checking of available inference engine devices. Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* runtime/jhi: Enable sanity testYeoh Ee Peng2020-04-071-0/+41
| | | | | | | | jhi test validate that jhi daemon and jhi library can work to deliver dynamic application loading. Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* runtime/thermald: Enable sanity testYeoh Ee Peng2020-04-021-0/+45
| | | | | | | | | | | Enable thermald sanity test: - test that thermal daemon was monitoring temperature - test that thermal emulation was enabled in the image - test that emulation of temparature changes will be detected by thermal daemon Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* runtime/cyclictest: Enable cyclictest for image with rt kernelYeoh Ee Peng2020-04-021-0/+39
| | | | | | | | | | | | | | | Enable cyclictest: - test execute cyclictest, retrieve the maximum latency captured inside log and compare it to the target latency - cyclictest arguments based on public cyclictest arguments used for intel corei7 https://www.osadl.org/Latency-plot-of-system-in-rack-9-slot.qa-latencyplot-r9s5.0.html?shadow=1 - set default target latency based on 24 us (captured from public cyclictest execution) multiple by 1.2 (buffer) - enable user defined target latency by configuring 'RTKERNEL_TARGET_LATENCY' as bitbake config example, inside local.conf: RTKERNEL_TARGET_LATENCY = "25" Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* runtime/libxcam: Enable sanity testYeoh Ee Peng2020-04-021-0/+37
| | | | | | | | Enable sanity tests: - test libxcam soft sample app can perform image remap using libxcam library Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* oeqa/runtime/libipt: Enable sanity testYeoh Ee Peng2020-03-271-0/+23
| | | | | | | | | Enable libipt sanity test: - test that libipt can generate trace packet - test that libipt can perform dump on trace packet generated Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* runtime/isal: Enable sanity testYeoh Ee Peng2020-03-231-0/+24
| | | | | | | | isal test validate that intel intelligent storage acceleration library can provide accelerated compression using igzip executable. Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* runtime/intel_vaapi_driver: Enable sanity testYeoh Ee Peng2020-03-231-0/+27
| | | | | | | | | | Sanity test for: - using intel vaapi driver (i965) - validate intel vaapi encode was working through gstreamer - validate intel vaapi decode was working through gstreamer Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* runtime/intel_mediasdk: Enable sanity testYeoh Ee Peng2020-03-231-0/+34
| | | | | | | | | | Sanity test for: - using intel media driver (iHD) - validate intel msdk encode was working through gstreamer - validate intel msdk decode was working through gstreamer Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* oeqa/runtime/mkl_dnn: Add mkldnn testsYeoh Ee Peng2020-01-222-0/+124
| | | | | | | | | | | | Add automated tests that: - test that mkl_dnn shared libraries and headers can be used to compile mkl_dnn sample application and execute it - test that mkl_dnn various api (eg. convolution, deconv, rnn, etc) are executable - add extra packages checking for test compiling mkldnn application Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* oeqa/runtime/cases/dldt: Enable inference engine and model optimizer testsYeoh Ee Peng2019-12-108-0/+384
| | | | | | | | | | | | | | | | | | Add sanity tests for inference engine: - test inference engine c/cpp shared library - test inference engine python api - test inference engine cpu, gpu, myriad plugin Add sanity tests for model optimizer - test model optmizer can generate ir Licenses: - classification_sample.py license: Apache 2.0 source: <install_root>/deployment_tools/inference_engine/samples/* Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* oeqa/runtime/microcode: Enable microcode update testYeoh Ee Peng2019-07-081-0/+36
| | | | | | | | | | | | With iucode-tool, identified the selected microcode to be used for microcode update by the specific processor. Compared the updated microcode from dmesg to the selected microcode, test failed if the updated microcode revision does not match the available selected microcode revision from the iucode-tool. Compute int from hexadecimal for comparison based on Naveen Kumar suggestion. Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* Add secureboot selftestsCalifornia Sullivan2017-08-301-0/+176
This was based on the secureboot selftests in meta-refkit: https://github.com/intel/intel-iot-refkit/blob/3bf04941a3a150ed86d8ae61366ae3a19443a600/meta-refkit/lib/oeqa/selftest/cases/secureboot.py It had to be modified a bit to work in meta-intel, as we can't depend on efivar which resides in meta-openembedded. Instead, in order to test that secureboot is enabled, we first try to boot with an unsigned, then image signed with incorrect keys, and search for a "Security Violation" error message in each log. If the image booted successfully or that error did not occur, something went wrong and the third test becomes invalid. The third test is simply booting an image that is signed with the enrolled keys, getting to a login screen and running a simple command. Note that these tests can be quite time consuming, as we have to wait for the first two tests to timeout, and the timeout values have to be somewhat high as it sometimes takes a while for the ovmf firmware to come up. Original work by Mikko Ylinen and Patrick Ohly. Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>