exclude tests for VS

Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
This commit is contained in:
Sergey Isakov 2020-03-27 11:29:38 +03:00
parent b74b57b7dd
commit e5beea2f1b

View File

@ -38,11 +38,13 @@ bool all_tests()
} }
#endif #endif
#endif #endif
#ifndef _MSC_VER
ret = printf_lite_tests(); ret = printf_lite_tests();
if ( ret != 0 ) { if ( ret != 0 ) {
DebugLog(2, "printf_lite_tests() failed at test %d\n", ret); DebugLog(2, "printf_lite_tests() failed at test %d\n", ret);
all_ok = false; all_ok = false;
} }
#endif
#ifdef JIEF_DEBUG #ifdef JIEF_DEBUG
//return ret; //return ret;
#endif #endif
@ -71,6 +73,7 @@ bool all_tests()
DebugLog(2, "XObjArray_tests() failed at test %d\n", ret); DebugLog(2, "XObjArray_tests() failed at test %d\n", ret);
all_ok = false; all_ok = false;
} }
#ifndef _MSC_VER
ret = XString_tests(); ret = XString_tests();
if ( ret != 0 ) { if ( ret != 0 ) {
DebugLog(2, "XString_tests() failed at test %d\n", ret); DebugLog(2, "XString_tests() failed at test %d\n", ret);
@ -81,6 +84,7 @@ bool all_tests()
DebugLog(2, "XStringW_tests() failed at test %d\n", ret); DebugLog(2, "XStringW_tests() failed at test %d\n", ret);
all_ok = false; all_ok = false;
} }
#endif
ret = XStringWArray_tests(); ret = XStringWArray_tests();
if ( ret != 0 ) { if ( ret != 0 ) {
DebugLog(2, "XStringWArray_tests() failed at test %d\n", ret); DebugLog(2, "XStringWArray_tests() failed at test %d\n", ret);