blob: 8eabf865a9218a4559505be5d59bcdc87cf5811c [file] [log] [blame]
Austin Schuhc243b422020-10-11 15:35:08 -07001#ifndef AOS_TESTING_TMPDIR_H_
2#define AOS_TESTING_TMPDIR_H_
3
4#include <string>
5
6namespace aos {
7namespace testing {
8
9// Returns a usable temporary directory.
10std::string TestTmpDir();
11
Adam Snaiderc8b7e752023-09-14 14:27:53 -070012// Sets shm_base to a folder inside of TEST_TMPDIR if set, or --shm_base
13// otherwise.
14void SetTestShmBase();
15
Austin Schuhc243b422020-10-11 15:35:08 -070016} // namespace testing
17} // namespace aos
18
19#endif // AOS_TESTING_TMPDIR_H_