Skip to content

Commit

Permalink
Make test deterministic
Browse files Browse the repository at this point in the history
Related-To: NEO-6611
Signed-off-by: Mateusz Jablonski <[email protected]>
  • Loading branch information
JablonskiMateusz authored and Compute-Runtime-Automation committed May 18, 2022
1 parent 2ad04ef commit 5f38555
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions opencl/test/unit_test/utilities/file_logger_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5f38555

Please sign in to comment.