diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2024-06-17 11:28:47 +0200 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2024-07-05 12:58:35 +0200 |
commit | c88585ddf9386fb14154a4f3baa702569d55584a (patch) | |
tree | 05461204866831ab88364981390dae474f16247d /test/main.cpp | |
parent | 8c73c618d777a07c017ec0deefe88db83652827e (diff) | |
download | justbuild-c88585ddf9386fb14154a4f3baa702569d55584a.tar.gz |
Use StorageConfig functionality via Instance()
...to track changes during refactoring easier.
Diffstat (limited to 'test/main.cpp')
-rw-r--r-- | test/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/main.cpp b/test/main.cpp index 34468666..c0caa056 100644 --- a/test/main.cpp +++ b/test/main.cpp @@ -38,7 +38,7 @@ auto main(int argc, char* argv[]) -> int { * Hence we set the storage root to a fixed location under TEST_TMPDIR which * is set by the test launcher. */ - auto setup_ok = StorageConfig::SetBuildRoot( + auto setup_ok = StorageConfig::Instance().SetBuildRoot( std::filesystem::path{std::string{std::getenv("TEST_TMPDIR")}} / ".test_build_root"); if (not setup_ok) { |