diff options
author | Karsten Heimrich <karsten.heimrich@qt.io> | 2019-01-14 22:37:58 +0100 |
---|---|---|
committer | Maurice Kalinowski <maurice.kalinowski@qt.io> | 2019-01-15 08:31:55 +0000 |
commit | 19f55ce3b41e99df2dfc87934143e835c5183d82 (patch) | |
tree | 956b93291c314879c06ba228fb1d5e639e7d3f04 /tests | |
parent | 0a0fa0373140a4896e0711cb65f22ab6cf4fd402 (diff) |
Fix compile issue with VS2017 (Part 2)
Change-Id: I3b27eab8d3ddf7fcafb0cc0b8718ae7e0921726d
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qknxdatapointtype/tst_qknxdatapointtype.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/auto/qknxdatapointtype/tst_qknxdatapointtype.cpp b/tests/auto/qknxdatapointtype/tst_qknxdatapointtype.cpp index 792e4d1..428bd37 100644 --- a/tests/auto/qknxdatapointtype/tst_qknxdatapointtype.cpp +++ b/tests/auto/qknxdatapointtype/tst_qknxdatapointtype.cpp @@ -561,6 +561,9 @@ void tst_QKnxDatapointType::dpt9_2ByteFloat() void tst_QKnxDatapointType::dpt10_TimeOfDay() { +#if defined(Q_CC_MSVC) && Q_CC_MSVC == 1914 + QSKIP("Test disabled, this test generates an undefined symbol compiler error."); +#else QKnxTime time; QCOMPARE(time, QKnxTime()); QCOMPARE(time.isNull(), true); @@ -620,6 +623,7 @@ void tst_QKnxDatapointType::dpt10_TimeOfDay() QCOMPARE(QKnxDatapointTypeFactory::instance().containsMainType(timeOfDay.mainType()), true); QCOMPARE(time.staticMetaObject.enumeratorCount(), 1); +#endif } void tst_QKnxDatapointType::dpt11_Date() @@ -902,6 +906,9 @@ void tst_QKnxDatapointType::dpt18_SceneControl() void tst_QKnxDatapointType::dpt19_DateTime() { +#if defined(Q_CC_MSVC) && Q_CC_MSVC == 1914 + QSKIP("Test disabled, this test generates an undefined symbol compiler error."); +#else QKnxTime24 time; QCOMPARE(time, QKnxTime24()); QCOMPARE(time.isNull(), true); @@ -944,6 +951,7 @@ void tst_QKnxDatapointType::dpt19_DateTime() QCOMPARE(time.staticMetaObject.enumeratorCount(), 1); // TODO: Extend the auto-test. +#endif } void tst_QKnxDatapointType::dpt20_1Byte() |