Commit Graph

11 Commits

Author SHA1 Message Date
Mateusz Hoppe 5e15543b14 test: improve unit tests - use virtual file system
- use virtualFileSystem in ULTs, writeDataToFile() does not create file
but instead saves filename. Call to fileExists() checks if file was
previously written

Related-To: NEO-7006

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-03-08 13:34:19 +01:00
Mateusz Jablonski 8708963c4f test: don't call real cpuid function in ULT
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-02-05 14:56:26 +01:00
Mateusz Jablonski 739d181026 refactor: correct naming of enum class constants 6/n
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-12-13 14:48:52 +01:00
Mateusz Jablonski 939a37c445 test: start alarm handler just before RUN_ALL_TESTS
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-11-30 23:40:20 +01:00
Mateusz Jablonski c9664e6bad refactor: rename global debug manager to debugManager
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-11-30 13:00:59 +01:00
Mateusz Jablonski 8e3caef814 test: add support for alarm in Windows ULT
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-11-27 14:24:45 +01:00
Mateusz Jablonski c7daa7a960 test: add per test case timeout
fail unit test when takes more than 5s
fail aub test when takes more than 20s

add mechanism to control timeout per aub/mt/unit test
disable tests with fstream

Related-To: NEO-7006

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-11-27 12:58:11 +01:00
Mateusz Jablonski f9f5377218 test: remove gmock from metrics ult
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-27 09:38:23 +02:00
Mateusz Jablonski 4dfa12c8eb fix: add mechanism to detect gpu timestamp overflows
unify naming CpuGpu to GpuCpu

Related-To: NEO-8394
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-19 16:31:06 +02:00
Dunajski, Bartosz 71e36f85b4 refactor: capability to run multiple targets in unit tests
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-10-13 14:19:13 +02:00
Mateusz Jablonski c22482f6f7 test: unify main function for test targets
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-07-28 20:00:45 +02:00