Michael Martis | c22823d | 2018-09-14 12:54:04 +1000 | [diff] [blame] | 1 | // Copyright 2018 The Chromium OS Authors. All rights reserved. |
2 | // Use of this source code is governed by a BSD-style license that can be | ||||
3 | // found in the LICENSE file. | ||||
4 | |||||
5 | #include "ml/test_utils.h" | ||||
6 | |||||
7 | namespace ml { | ||||
8 | |||||
9 | std::string GetTestModelDir() { | ||||
10 | const char* const temp_dir = getenv("T"); | ||||
11 | CHECK_NE(temp_dir, nullptr); | ||||
12 | return std::string(temp_dir) + "/ml_models/"; | ||||
13 | } | ||||
14 | |||||
15 | } // namespace ml |