aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/test_sanity.cpp
diff options
context:
space:
mode:
authorChun-Min Chang <[email protected]>2017-04-07 11:44:24 +0800
committerMatthew Gregan <[email protected]>2017-04-07 15:44:24 +1200
commit2b1132b1e8aa16760fcb9d13b1f79273ac183b77 (patch)
treefe0d6353c2c76d8241f409121e379a48f836c02b /test/test_sanity.cpp
parent61aaac299d00b803452193ccffdee83dcce7cec4 (diff)
downloadcubeb-2b1132b1e8aa16760fcb9d13b1f79273ac183b77.tar.gz
cubeb-2b1132b1e8aa16760fcb9d13b1f79273ac183b77.zip
Using gtest style's error message in cubeb (#274)
* Replace printf by fprintf * Turn error log into gtest's style * Avoid scan-build warning by replacing raw pointer with unique_ptr
Diffstat (limited to 'test/test_sanity.cpp')
-rw-r--r--test/test_sanity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_sanity.cpp b/test/test_sanity.cpp
index 266e131..7a78c1e 100644
--- a/test/test_sanity.cpp
+++ b/test/test_sanity.cpp
@@ -28,7 +28,7 @@
int is_windows_7()
{
#ifdef __MINGW32__
- printf("Warning: this test was built with MinGW.\n"
+ fprintf(stderr, "Warning: this test was built with MinGW.\n"
"MinGW does not contain necessary version checking infrastructure. Claiming to be Windows 7, even if we're not.\n");
return 1;
#endif