diff options
author | Martin Braun <martin.braun@ettus.com> | 2020-03-04 15:23:28 -0800 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2020-03-26 07:46:03 -0500 |
commit | 8055879242b43500c49e8ea8d4035687d13f9fae (patch) | |
tree | 24605e64cfd02f55959d166a23836f78ab66a644 /host/tests/paths_test.cpp | |
parent | 39d6007ca7e3b27e8230db6690faa7469ca62cb2 (diff) | |
download | uhd-8055879242b43500c49e8ea8d4035687d13f9fae.tar.gz uhd-8055879242b43500c49e8ea8d4035687d13f9fae.tar.bz2 uhd-8055879242b43500c49e8ea8d4035687d13f9fae.zip |
uhd: paths: Add get_cal_data_path() API call
This points to the location where cal data is stored.
Diffstat (limited to 'host/tests/paths_test.cpp')
-rw-r--r-- | host/tests/paths_test.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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; } |