summaryrefslogtreecommitdiff
path: root/test/main.cpp
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2024-06-17 11:28:47 +0200
committerMaksim Denisov <denisov.maksim@huawei.com>2024-07-05 12:58:35 +0200
commitc88585ddf9386fb14154a4f3baa702569d55584a (patch)
tree05461204866831ab88364981390dae474f16247d /test/main.cpp
parent8c73c618d777a07c017ec0deefe88db83652827e (diff)
downloadjustbuild-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.cpp2
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) {