diff options
author | Jędrzej Nowacki <jedrzej.nowacki@digia.com> | 2014-03-06 12:40:15 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-06 17:22:55 +0100 |
commit | 564297d7c470fa8691b6d00af7b138e06b848d3a (patch) | |
tree | 29ce7cce77b63d53144a160da5ea416ec9a58524 /tests/auto/corelib | |
parent | 1d6de20e0b901f54ac41b3195a13ed5946b983f7 (diff) |
Reduce clang compilation time of tst_qmetatype by ~50%
We do not need to check all possible basic type combinations in
the autoregistration test.
Change-Id: Ibfb97a93d9d1862e669d843988976690bbc83c74
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'tests/auto/corelib')
-rw-r--r-- | tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp b/tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp index fba0b87c09..0e3ea86165 100644 --- a/tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp +++ b/tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp @@ -1504,15 +1504,11 @@ void tst_QMetaType::automaticTemplateRegistration() #define FOR_EACH_STATIC_PRIMITIVE_TYPE(F) \ F(bool) \ F(int) \ - F(uint) \ - F(qlonglong) \ F(qulonglong) \ F(double) \ - F(long) \ F(short) \ F(char) \ F(ulong) \ - F(ushort) \ F(uchar) \ F(float) \ F(QObject*) \ @@ -1520,19 +1516,11 @@ void tst_QMetaType::automaticTemplateRegistration() F(CustomMovable) #define FOR_EACH_STATIC_PRIMITIVE_TYPE2(F, SecondaryRealName) \ - F(bool, SecondaryRealName) \ - F(int, SecondaryRealName) \ F(uint, SecondaryRealName) \ F(qlonglong, SecondaryRealName) \ - F(qulonglong, SecondaryRealName) \ - F(long, SecondaryRealName) \ - F(short, SecondaryRealName) \ F(char, SecondaryRealName) \ - F(ulong, SecondaryRealName) \ - F(ushort, SecondaryRealName) \ F(uchar, SecondaryRealName) \ - F(QObject*, SecondaryRealName) \ - F(QString, SecondaryRealName) + F(QObject*, SecondaryRealName) #define CREATE_AND_VERIFY_CONTAINER(CONTAINER, ...) \ { \ |