Austin Schuh | c243b42 | 2020-10-11 15:35:08 -0700 | [diff] [blame] | 1 | #ifndef AOS_TESTING_TMPDIR_H_ |
| 2 | #define AOS_TESTING_TMPDIR_H_ |
| 3 | |
| 4 | #include <string> |
| 5 | |
| 6 | namespace aos { |
| 7 | namespace testing { |
| 8 | |
| 9 | // Returns a usable temporary directory. |
| 10 | std::string TestTmpDir(); |
| 11 | |
Adam Snaider | c8b7e75 | 2023-09-14 14:27:53 -0700 | [diff] [blame^] | 12 | // Sets shm_base to a folder inside of TEST_TMPDIR if set, or --shm_base |
| 13 | // otherwise. |
| 14 | void SetTestShmBase(); |
| 15 | |
Austin Schuh | c243b42 | 2020-10-11 15:35:08 -0700 | [diff] [blame] | 16 | } // namespace testing |
| 17 | } // namespace aos |
| 18 | |
| 19 | #endif // AOS_TESTING_TMPDIR_H_ |