From 15b10f9e8e2e98be8717a347304202c7aa171125 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Mon, 30 Sep 2019 13:18:19 +0200 Subject: lib: utils: Add is_a_tty() This is a portable version of POSIX's isatty(). Windows has its own version, called _isatty(). UHD thus gains its own, portable version. The underscores aren't beautiful, but they're necessary so we can distinguish the POSIX version from the UHD version. --- host/tests/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'host/tests/CMakeLists.txt') diff --git a/host/tests/CMakeLists.txt b/host/tests/CMakeLists.txt index a7d2120aa..769c09796 100644 --- a/host/tests/CMakeLists.txt +++ b/host/tests/CMakeLists.txt @@ -34,6 +34,7 @@ set(test_sources fp_compare_delta_test.cpp fp_compare_epsilon_test.cpp gain_group_test.cpp + isatty_test.cpp log_test.cpp math_test.cpp narrow_cast_test.cpp -- cgit v1.2.3