From 4ebffd8c63fb2685153235620da3366490befaae Mon Sep 17 00:00:00 2001 From: Green Sky Date: Fri, 22 Dec 2023 12:07:43 +0100 Subject: [PATCH] switch to cerr in test to restore log order --- external/toxcore/mono_time_test.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/external/toxcore/mono_time_test.cc b/external/toxcore/mono_time_test.cc index 754f6db5..d0afb4ed 100644 --- a/external/toxcore/mono_time_test.cc +++ b/external/toxcore/mono_time_test.cc @@ -113,25 +113,25 @@ int main(int argc, char **argv) { std::cerr << "MonoTimeUnixTimeIncreasesOverTime() failed\n"; return -1; } - std::cout << "MonoTimeUnixTimeIncreasesOverTime() succeeded\n"; + std::cerr << "MonoTimeUnixTimeIncreasesOverTime() succeeded\n"; if (!run_test_MonoTimeIsTimeout()) { std::cerr << "MonoTimeIsTimeout() failed\n"; return -1; } - std::cout << "MonoTimeIsTimeout() succeeded\n"; + std::cerr << "MonoTimeIsTimeout() succeeded\n"; if (!run_test_MonoTimeIsTimeoutReal()) { std::cerr << "MonoTimeIsTimeoutReal() failed\n"; return -1; } - std::cout << "MonoTimeIsTimeoutReal() succeeded\n"; + std::cerr << "MonoTimeIsTimeoutReal() succeeded\n"; if (!run_test_MonoTimeCustomTime()) { std::cerr << "MonoTimeCustomTime() failed\n"; return -1; } - std::cout << "MonoTimeCustomTime() succeeded\n"; + std::cerr << "MonoTimeCustomTime() succeeded\n"; return 0; }