testlib: Detect msvc version for blacklisting
Check _MSC_VER to detect the msvc version (2010, 2012 or 2013). Change-Id: I96a73d316a6124e38b2c48c5752dfc22357f8d00 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
This commit is contained in:
parent
c32048c62f
commit
a11ffc7bc6
@ -103,6 +103,15 @@ const char *matchedConditions[] =
|
||||
#endif
|
||||
#ifdef Q_CC_MSVC
|
||||
"msvc",
|
||||
#ifdef _MSC_VER
|
||||
#if _MSC_VER == 1800
|
||||
"msvc-2013",
|
||||
#elif _MSC_VER == 1700
|
||||
"msvc-2012",
|
||||
#elif _MSC_VER == 1600
|
||||
"msvc-2010",
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef Q_AUTOTEST_EXPORT
|
||||
|
Loading…
Reference in New Issue
Block a user