switch to cerr in test to restore log order
This commit is contained in:
parent
8923e09b36
commit
4ebffd8c63
8
external/toxcore/mono_time_test.cc
vendored
8
external/toxcore/mono_time_test.cc
vendored
@ -113,25 +113,25 @@ int main(int argc, char **argv) {
|
|||||||
std::cerr << "MonoTimeUnixTimeIncreasesOverTime() failed\n";
|
std::cerr << "MonoTimeUnixTimeIncreasesOverTime() failed\n";
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
std::cout << "MonoTimeUnixTimeIncreasesOverTime() succeeded\n";
|
std::cerr << "MonoTimeUnixTimeIncreasesOverTime() succeeded\n";
|
||||||
|
|
||||||
if (!run_test_MonoTimeIsTimeout()) {
|
if (!run_test_MonoTimeIsTimeout()) {
|
||||||
std::cerr << "MonoTimeIsTimeout() failed\n";
|
std::cerr << "MonoTimeIsTimeout() failed\n";
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
std::cout << "MonoTimeIsTimeout() succeeded\n";
|
std::cerr << "MonoTimeIsTimeout() succeeded\n";
|
||||||
|
|
||||||
if (!run_test_MonoTimeIsTimeoutReal()) {
|
if (!run_test_MonoTimeIsTimeoutReal()) {
|
||||||
std::cerr << "MonoTimeIsTimeoutReal() failed\n";
|
std::cerr << "MonoTimeIsTimeoutReal() failed\n";
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
std::cout << "MonoTimeIsTimeoutReal() succeeded\n";
|
std::cerr << "MonoTimeIsTimeoutReal() succeeded\n";
|
||||||
|
|
||||||
if (!run_test_MonoTimeCustomTime()) {
|
if (!run_test_MonoTimeCustomTime()) {
|
||||||
std::cerr << "MonoTimeCustomTime() failed\n";
|
std::cerr << "MonoTimeCustomTime() failed\n";
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
std::cout << "MonoTimeCustomTime() succeeded\n";
|
std::cerr << "MonoTimeCustomTime() succeeded\n";
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user