diff options
author | Jack Lloyd <[email protected]> | 2017-09-02 08:25:20 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-09-02 08:25:20 -0400 |
commit | 6cea745e6408ac4cf266086681b5d65209b33d84 (patch) | |
tree | cc25786f8a94c4333a8a5f0183be4acc7fe1c6c1 /src/tests | |
parent | 6e4b50246e36361b2f94d0fe0b2633655dc5e46f (diff) |
Output errors to cerr
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/main.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/main.cpp b/src/tests/main.cpp index ae1ad18a7..f96f431a7 100644 --- a/src/tests/main.cpp +++ b/src/tests/main.cpp @@ -415,7 +415,7 @@ int main(int argc, char* argv[]) if(!cmd) { - std::cout << "Unable to retrieve testing helper (program bug)\n"; // WTF + std::cerr << "Unable to retrieve testing helper (program bug)\n"; // WTF return 1; } @@ -424,14 +424,14 @@ int main(int argc, char* argv[]) } catch(Botan::Exception& e) { - std::cout << "Exiting with library exception " << e.what() << std::endl; + std::cerr << "Exiting with library exception " << e.what() << std::endl; } catch(std::exception& e) { - std::cout << "Exiting with std exception " << e.what() << std::endl; + std::cerr << "Exiting with std exception " << e.what() << std::endl; } catch(...) { - std::cout << "Exiting with unknown exception\n"; + std::cerr << "Exiting with unknown exception" << std::endl; } } |