mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-10 12:53:42 +08:00
Make test deterministic
Related-To: NEO-6611 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
2ad04efd16
commit
5f38555af5
@ -671,11 +671,11 @@ TEST(FileLogger, GivenNullsWhenDumpingKernelArgsThenFileIsNotCreated) {
|
||||
}
|
||||
|
||||
TEST(FileLogger, GivenDisabledDebugFunctionalityWhenLoggingThenDumpingDoesNotOccur) {
|
||||
std::string path = ".";
|
||||
std::string path = "ocl_test";
|
||||
std::vector<std::string> files = Directory::getFiles(path);
|
||||
size_t initialNumberOfFiles = files.size();
|
||||
|
||||
std::string testFile = "testfile";
|
||||
std::string testFile = "ocl_test/testfile";
|
||||
DebugVariables flags;
|
||||
flags.DumpKernels.set(true);
|
||||
flags.LogApiCalls.set(true);
|
||||
|
Reference in New Issue
Block a user