Commit Graph

39 Commits

Author SHA1 Message Date
0f8489b5f8 ULT: Move product specific tests to shared (gen9-gen12lp)
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-11-02 11:30:04 +01:00
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
d8cd596baf Add device ID for ADLS (0xA78B)
Related-To: NEO-7240

Signed-off-by: Neumann, Marta <marta.neumann@intel.com>
2022-08-09 13:55:30 +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
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
865ef4d039 Add RPL-S device IDs
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-03-08 11:23:57 +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
0b4bc865d3 move drm_mock to shared
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2021-09-24 08:55:45 +02:00
9da7d516bc Add ADLS device id
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-09-20 16:06:53 +02:00
1e8be7305a Remove ADLS from simulation devices
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>
2021-08-23 18:54:32 +02:00
4461fcdc2a Add 0x4690 device id
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>
2021-08-19 14:31:16 +02: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
0e9aa45e46 Improving OS abstraction
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-05-23 21:40:37 +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
d8a7a60081 Move some l0, opencl tests to shared
Related-To: NEO-5807

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2021-05-14 15:39:25 +02:00
47256642c3 Enable Level Zero on ADLS, RKL
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2021-05-07 22:08:50 +02:00
b9a185df76 ULT renaming: HW Info Setup tests
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-11-30 19:37:44 +01:00
d59bd2e62b Exclude test for ADLS
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-11-19 21:43:08 +01: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
2eea76e086 ULT renaming: Gen-specific Device Capabilities tests
Related-To: NEO-2236

Change-Id: Ie499506585f929e73547e8f3f39aea2a16a77c48
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-10-26 18:04:54 +01:00
4c2d92890f Opensource ADLS.
Resolves: NEO-5092

Change-Id: I544247a057a667ce6423f2e59ba4ca769e866479
Signed-off-by: Piotr Zdunowski <piotr.zdunowski@intel.com>
2020-10-21 19:07:38 +02:00