cfe51ff2ba
Remove not used isSimulation functions
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-09-20 11:01:55 +02:00
98500ee653
Allow overriding hw config on aub/tbx mode
...
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2022-08-25 10:54:42 +02:00
bca852617c
Remove usage of TestLegacy from opencl tests
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-08-16 22:16:48 +02:00
e6fc458d4b
Add a struct for test fixtures with correct method naming convention
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-08-11 12:55:52 +02:00
e51294b4c1
includes cleanup
...
use hw_test_base.h instead of hw_test.h.
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-07-08 14:28:11 +02:00
e245523730
per gen/per sku TEST_F/TEST_P refactor
...
In gen/sku specific tests include only required files to reduce
dependency on not related HW scpecific headers and improve build
performance.
This is achieved by reduce in usage of hw_test.h and related collateral,
like shared/source/helpers/definitions/hw_cmds.h which can be replaced
by sku specific hw_cmds_<sku>.h
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-07-06 23:13:46 +02:00
4bdd8860a1
test.h refactor
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-07-04 18:20:07 +02:00
28edaa9a2d
cmake cleanup
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-06-30 10:54:21 +02:00
6d43e96dee
style: configure readability-identifier-naming.ClassCase
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-06-13 18:02:39 +02:00
6e3d373ef6
Move tests to shared
...
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com >
2022-06-13 13:05:46 +02:00
14134be74e
Move hw_info_config tests to shared
...
Signed-off-by: Daniel Chabrowski daniel.chabrowski@intel.com
2022-05-30 18:10:02 +02:00
3d8effcd69
Clean-Up unused code related to GMock
...
This commit:
- Removes usings e.g. ::testing::Return
- Removes unnecessary gmock inclues
- Replaces Gmock macros (e.g. EXPECT_THAT) with our custom implementations
Related-To: NEO-4941
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2022-03-22 16:16:34 +01:00
c30ee611de
Add ocl to filenames with excludes for opencl unit tests
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-02-17 17:59:05 +01:00
72edadb265
Remove not used GT type info
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-01-26 18:06:38 +01:00
e4bbed49d0
Use full path to include test.h 1/n
...
fix files in opencl
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-12-15 12:34:34 +01:00
8c93004937
Unify device id tests
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-12-09 13:53:10 +01:00
995cb88bfa
Improve ftr/wa flags packing
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-11-25 16:05:57 +01:00
038da95cf4
Enable gen specific test excludes
...
Resolves: NEO-6007
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2021-07-05 20:12:42 +02:00
a49b45a679
Initialize HwInfo in tests
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-06-30 17:59:46 +02:00
6fb1be80c8
Update test exclude macros
...
Unify exclude macros and respect them in all custom test macros.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-06-30 14:27:15 +02:00
d3ba02294f
Correct coding style in drm tests
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-06-25 17:22:53 +02:00
b3283a4490
When initializing gtSystemInfo initialize DualSubSliceCount
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-06-01 14:52:19 +02:00
bc92cbf9e7
Refactoring hwinfoconfig
...
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com >
2021-05-25 09:02:07 +02:00
fa944d296c
Correct test excludes
...
Related-To: NEO-5807
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
Co-authored-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-05-18 14:58:23 +02:00
3bd4bca911
Copyright header update
...
Dates corrected in copyright headers to reflect original publication date
(2018 for OpenCL, 2020 for Level Zero).
Signed-off-by: lgotszal <lukasz.gotszald@intel.com >
2021-05-17 20:38:19 +02:00
be1346f899
ULT renaming: Gen11-specific tests
...
Related-To: NEO-2236
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com >
2021-04-20 15:23:32 +02:00
949137e068
Remove not used method
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-11-19 17:55:50 +01:00
605629d89e
Device ID cleanup:
...
- Use commmon naming scheme
- Add missing ULTs
- Remove redundancies
Related-To: NEO-5250
Change-Id: Id6ed25c078b54f7d6ea43f2d3b71dc827ff2d088
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com >
2020-11-03 13:45:36 +01:00
caa212dcf3
Create top level copy_test_file_per_product target
...
- new target depends on all product specific
copy_test_files targets
Change-Id: I90adb6598790dc4a25d61e6c22f2b2b58e898717
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-10-07 10:39:51 +02:00
5f4d54c4fe
Add revision specific tests and test files generation
...
Related-To: NEO-4838
Change-Id: I43cdd9108046239ec2535a9010762fb767b0c1eb
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com >
2020-10-01 05:28:54 -07:00
ada57435b4
Remove platform() dependency from DrmMock
...
Change-Id: I58a21dede469da95593e241528459761322c0730
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-09-12 18:05:14 +02:00
fb821f21f5
Cmake format script
...
Related-To: NEO-1157
Change-Id: Ie1b907e838cfb9ad0d75cc8971d415f7c77103c9
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com >
2020-08-19 16:36:30 +02:00
2c2a13c35c
Fix single SKU regression
...
Change-Id: Ibf0587b5648f68e35832dd1f9dada0bd93c4d957
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com >
2020-08-05 18:25:30 +02:00
b776dd7e7a
Device config cleanup
...
Change-Id: I9d0d0b3a200f3e301918e5f49da61b4ccd4f6660
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com >
2020-07-29 18:09:28 +02:00
ffcec77d0e
Add Gen11 devices
...
Change-Id: I1417d5529d8fadf7206cd54908a8e8cc4018ff21
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com >
2020-07-28 17:21:51 +02:00
5af401b7bb
Discover GPU topology from i915
...
Resolves: NEO-4718
Change-Id: I0547c109b961c3732e64b6f22ec761a5943c65ef
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-06-15 10:32:29 +02:00
aa8e9fb634
Rename ocl DeviceFixture and add shared tests specific one
...
Change-Id: Ib61e987388ba14b721a573e3e84332a7f6c9ef9c
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com >
2020-06-01 15:44:05 +02:00
2b269caca9
Add Ult target for level_zero
...
Change-Id: I5b18b6f495eda302ba96287d7bd6cc0b2bbe48ac
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2020-03-16 14:28:58 +01:00
7fd91182b6
Revert "Add Ult target for level_zero"
...
This reverts commit a748d7ccf5
.
Change-Id: Ifc49e45a93d42f7ae355fbf2a2d993538a1f71fe
2020-03-13 15:44:47 +01:00
a748d7ccf5
Add Ult target for level_zero
...
Change-Id: I43cfd536fc14c3d632289a00e9d82c23176b32a3
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2020-03-13 13:33:04 +01:00
073e015000
Define run_*_unit_tests targets in separated folders
...
Change-Id: Ic01913cf58e373f59a3c9445c385741dd6308d59
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-03-03 14:22:52 +01:00
9dbeeea18f
Clang-format: restore sorting includes
...
Change-Id: I34eb993b562c77f56d8fbd51a02ee266c1f76678
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-02-24 10:22:30 +01:00
7df9945ebe
Add absolute include paths
...
Change-Id: I67a6919bbbff1d30c7d6cdb257b41c87bad51e7f
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-02-23 23:49:12 +01:00
370424a1e0
Change core inlcudes
...
Change-Id: Iaec903af420f0a92f7d86e484c83300fb9c531ad
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-02-23 18:46:50 +01:00
87c5d2663b
Add absolute path to unit_tests
...
Change-Id: I7a64f79a39dff4f5fa4166244e71872bb614724f
2020-02-23 17:18:04 +01:00
e8852a68c4
Reorganization directory structure [2/n]
...
Change-Id: I47962d17d755e80dcd9476e1ed75560f433f6115
2020-02-23 12:01:27 +01:00