From 8055879242b43500c49e8ea8d4035687d13f9fae Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Wed, 4 Mar 2020 15:23:28 -0800 Subject: uhd: paths: Add get_cal_data_path() API call This points to the location where cal data is stored. --- host/tests/paths_test.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'host/tests/paths_test.cpp') diff --git a/host/tests/paths_test.cpp b/host/tests/paths_test.cpp index 6ff496eb6..5115891b0 100644 --- a/host/tests/paths_test.cpp +++ b/host/tests/paths_test.cpp @@ -44,11 +44,13 @@ BOOST_AUTO_TEST_CASE(test_get_paths) const std::string tmp_path = get_tmp_path(); const std::string app_path = get_app_path(); const std::string pkg_path = get_pkg_path(); + const std::string cal_path = get_cal_data_path(); const auto module_paths = get_module_paths(); std::cout << "tmp_path: " << tmp_path << std::endl; std::cout << "app_path: " << app_path << std::endl; std::cout << "pkg_path: " << pkg_path << std::endl; + std::cout << "cal_path: " << cal_path << std::endl; for (const auto& module_path : module_paths) { std::cout << "module path: " << module_path << std::endl; } @@ -63,5 +65,5 @@ BOOST_AUTO_TEST_CASE(test_get_paths) const std::string utility_error = print_utility_error("uhd_images_downloader", "--help"); - std::cout << "utility_error: " << tmp_path << std::endl; + std::cout << "utility_error: " << utility_error << std::endl; } -- cgit v1.2.3