summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Fonseca <jfonseca@vmware.com>2015-08-14 11:14:06 +0100
committerJose Fonseca <jfonseca@vmware.com>2015-08-14 11:20:28 +0100
commit2392d3cf4e5487ec5f5ab32da56d8c9cbfa94c7d (patch)
tree6ae351a1f68376b3ecee1ff5aed580ad9a8dadb2
parent69cb0a07427a1380c5600d5dde18b7719d7de50a (diff)
gui: Skip qubjson test on debug MSVC.
It crashes due to MSVCRT static<->dynamic incompatability.
-rw-r--r--gui/qubjson_test.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/qubjson_test.cpp b/gui/qubjson_test.cpp
index 67a6db0b..1d075ea7 100644
--- a/gui/qubjson_test.cpp
+++ b/gui/qubjson_test.cpp
@@ -152,6 +152,10 @@ TEST(qubjson, binary_data) {
int
main(int argc, char **argv)
{
+#if defined(_MSC_VER) && !defined(NDEBUG)
+ return 0;
+#else
::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
+#endif
}