diff options
author | Jose Fonseca <jfonseca@vmware.com> | 2015-08-14 11:14:06 +0100 |
---|---|---|
committer | Jose Fonseca <jfonseca@vmware.com> | 2015-08-14 11:20:28 +0100 |
commit | 2392d3cf4e5487ec5f5ab32da56d8c9cbfa94c7d (patch) | |
tree | 6ae351a1f68376b3ecee1ff5aed580ad9a8dadb2 /gui | |
parent | 69cb0a07427a1380c5600d5dde18b7719d7de50a (diff) |
gui: Skip qubjson test on debug MSVC.
It crashes due to MSVCRT static<->dynamic incompatability.
Diffstat (limited to 'gui')
-rw-r--r-- | gui/qubjson_test.cpp | 4 |
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 } |