aboutsummaryrefslogtreecommitdiff
path: root/src/backends/backendsCommon/test/layerTests/DebugTestImpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/backends/backendsCommon/test/layerTests/DebugTestImpl.cpp')
-rw-r--r--src/backends/backendsCommon/test/layerTests/DebugTestImpl.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/backends/backendsCommon/test/layerTests/DebugTestImpl.cpp b/src/backends/backendsCommon/test/layerTests/DebugTestImpl.cpp
index 2ec94bca58..1768f5c503 100644
--- a/src/backends/backendsCommon/test/layerTests/DebugTestImpl.cpp
+++ b/src/backends/backendsCommon/test/layerTests/DebugTestImpl.cpp
@@ -79,6 +79,9 @@ LayerTestResult<T, Dim> DebugTestImpl(
armnnUtils::Filesystem::FileContents output = armnnUtils::Filesystem::ReadFileContentsIntoString(full_path);
CHECK((output == expectedStringOutput));
+
+ // Clean up afterwards.
+ armnnUtils::Filesystem::RemoveDirectoryAndContents(tmpDir);
}
else
{