blob: 9a19db22f978d3ca8577d0420916a0103b31a634 [file] [log] [blame]
Michael Martisc22823d2018-09-14 12:54:04 +10001// 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
Qijiang Fan713061e2021-03-08 15:45:12 +09007#include <base/check_op.h>
8
Michael Martisc22823d2018-09-14 12:54:04 +10009namespace ml {
10
11std::string GetTestModelDir() {
12 const char* const temp_dir = getenv("T");
13 CHECK_NE(temp_dir, nullptr);
14 return std::string(temp_dir) + "/ml_models/";
15}
16
17} // namespace ml