test: fix error message in opencl ULTs

- opencl ults do not require changing directory
- fix base execution directory for all aub test modes

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
Mateusz Hoppe
2025-02-17 13:48:27 +00:00
committed by Compute-Runtime-Automation
parent 051f7928f1
commit 9c962cdbc8
4 changed files with 30 additions and 14 deletions

View File

@@ -78,12 +78,16 @@ void setupTestFiles(std::string testBinaryFiles, int32_t revId) {
}
std::string getBaseExecutionDir() {
if (testMode != TestMode::aubTests) {
if (!isAubTestMode(testMode)) {
return "shared/";
}
return "";
}
bool isChangeDirectoryRequired() {
return true;
}
void addUltListener(::testing::TestEventListeners &listeners) {
listeners.Append(new BaseUltConfigListener);
}