diff options
author | Éanna Ó Catháin <eanna.ocathain@arm.com> | 2020-04-27 12:54:11 +0100 |
---|---|---|
committer | Éanna Ó Catháin <eanna.ocathain@arm.com> | 2020-04-27 12:54:32 +0100 |
commit | 49c52a1e3be742cd7785ccc36c31cbbe495c4003 (patch) | |
tree | 5402a98f526a278192a8f27450bf31a1a7a8ed17 /src/timelineDecoder/JSONTimelineDecoder.hpp | |
parent | 0886ac4c403378ac0df85ab520a5db319be525a4 (diff) | |
download | armnn-49c52a1e3be742cd7785ccc36c31cbbe495c4003.tar.gz |
IVGCVSW-4728 Attempt to fix test failures
Change-Id: I0e0d4a8338c7df4f09518d9f84605b3cc002f2b0
Signed-off-by: Éanna Ó Catháin <eanna.ocathain@arm.com>
Diffstat (limited to 'src/timelineDecoder/JSONTimelineDecoder.hpp')
-rw-r--r-- | src/timelineDecoder/JSONTimelineDecoder.hpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/timelineDecoder/JSONTimelineDecoder.hpp b/src/timelineDecoder/JSONTimelineDecoder.hpp index 17ee84b679..c4e085587e 100644 --- a/src/timelineDecoder/JSONTimelineDecoder.hpp +++ b/src/timelineDecoder/JSONTimelineDecoder.hpp @@ -9,6 +9,8 @@ #include <map> #include <vector> +#include <boost/filesystem/path.hpp> +#include <boost/filesystem.hpp> namespace armnn { @@ -63,7 +65,10 @@ public: private: Model m_Model; - std::string outputJSONFile = "/tmp/output.json"; + boost::filesystem::path fileDir = boost::filesystem::temp_directory_path(); + boost::filesystem::path p{fileDir / boost::filesystem::unique_path("output.json")}; + + std::string outputJSONFile = p.string(); void HandleRetentionLink(const Relationship& relationship); void HandleLabelLink(const Relationship& relationship); |