summaryrefslogtreecommitdiffstats
path: root/tests/postbuild
Commit message (Collapse)AuthorAgeFilesLines
* Blacklist ABI-unstable QJSListForInIterator and QJSListForOfIteratorVille Voutilainen2024-05-071-0/+2
| | | | | | Task-number: QTBUG-125038 Change-Id: I20b3880b53ccdd33b1aae6c1367097aacedd94ac Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* Blacklist QSignalSpy and everything in the QTest namespaceVille Voutilainen2024-04-081-0/+3
| | | | | | | | QtTest is by design ABI-unstable nowadays. Task-number: QTBUG-124181 Change-Id: I1b15e7f9c93659ed5aae6eef0fc267c422631077 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Blacklist an intentionally removed implementation detailv6.7.1v6.7.0-rc2v6.7.0-rc1v6.7.0-beta3v6.7.0Ville Voutilainen2024-02-071-1/+1
| | | | | | | | | | | QProperty no longer uses QUntypedPropertyData::InheritsQUntypedPropertyData, and it was never a type that was expected to appear in any ABI. Amends qtbase:216af5d7f9675a408e22167b097f221beeeb88db. Task-number: QTBUG-121994 Change-Id: I40da316bac473e4b341f1904416a738ba066a8d9 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Port away from Q_FOREACHJoerg Bornemann2023-12-167-79/+73
| | | | | | | Fixes: QTBUG-115806 Change-Id: I32818c549fe110bfb61458864ad4d75d9fab28c4 Reviewed-by: Marc Mutz <marc.mutz@qt.io> Reviewed-by: Serg Kryvonos <serg.kryvonos@qt.io>
* Blacklist QOperatingSystemVersionUnexportedVille Voutilainen2023-11-141-0/+1
| | | | | | | | | It was added in a patch release, which we kinda shouldn't do, but do all the time anyway. Task-number: QTBUG-119072 Change-Id: I885448af9848ba0b193441c7331051e5e9a94042 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Fix a Bic failure caused by a new override in QRasterWindowVille Voutilainen2023-10-021-0/+2
| | | | | | Task-number: QTBUG-117712 Change-Id: I5d66a8be1a3920cbe9e4d44839ccffb9f116cdd6 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Mark the module as free of Q_FOREACH, except where it isn'tMarc Mutz2023-08-178-1/+14
| | | | | | | | | | | | | | | | | | | | | The density of Q_FOREACH uses is not very high here, but too high for this author to tackle in a short amount of time. Since they're concentrated in just a few TUs, pick a different strategy: Mark the whole module with QT_NO_FOREACH, to prevent new uses from creeping in, and whitelist the affected TUs by #undef'ing QT_NO_FOREACH locally, at the top of each file. For TUs that are part of a larger executable, this requires these files to be compiled separately, so add them to NO_PCH_SOURCES (which implies NO_UNITY_BUILD_SOURCES, too). Created QTBUG-115806 to keep track of this. Needed to port the use in a header, as otherwise we'd have to put all TUs into NO_PCH_SOURCES. Task-number: QTBUG-115806 Change-Id: I62bdcabb0f34844b9b9935b431a31ef2b3f1c09c Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Blacklist an override addition done in a patch releaseVille Voutilainen2023-08-011-0/+3
| | | | | | Task-number: QTBUG-115638 Change-Id: I7215fe7bceff1db0920222105dd5fc1dca2a939e Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Fix BiC test after an intentional removeVille Voutilainen2023-06-191-0/+2
| | | | | | Task-number: QTBUG-114667 Change-Id: I0e8d33d20b92e5a43f538c719a6a28fd2cf89ba6 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* Blacklist Vulkan video codec symbols (StdVideo*)Ville Voutilainen2023-05-181-0/+2
| | | | | | Change-Id: I5b587ff2107c30fcd9b0a2f21c0363424e2cc176 Reviewed-by: Rami Potinkara <rami.potinkara@qt.io> Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Blacklist Vulkan additionsVille Voutilainen2023-04-251-0/+4
| | | | | | | | | These were deliberately added in a patch release. We can't tell the difference between an acceptable addition and a problematic ABI break, so we just need to blacklist these. Change-Id: Ice1098c123c25dcc947cdccea247e530263f7b86 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Blacklist all of QtPrivate::Ville Voutilainen2023-04-241-3/+1
| | | | | Change-Id: I189183bcb9a11bf7ccec345eedf1189e56c9241d Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Fix build with QT_NO_PROCESSVille Voutilainen2023-02-201-1/+2
| | | | | Change-Id: I474903b6bc34398c17ec2c658cc6a51f92cdb5ba Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Fix the broken test after the retirement of qt_parse_all_argumentsAmir Masoud Abdol2023-01-212-2/+2
| | | | | | | | | | As we are now processing the arguments with cmake_parse_arguments(PARSE_ARGV, we don't need to pass the escape characters anymore. Task-number: QTBUG-99238 Change-Id: Ibce14207d73442eb35bb687be6864df094ef3645 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
* Blacklist the offending QtPrivate class properlyVille Voutilainen2022-11-231-1/+1
| | | | | | | | | The blacklist isn't a regex in this case, so it needs to be an actual wildcard. Task-number: QTBUG-108470 Change-Id: Ia5f8375c9f9fae44dcc6350ca79c2273a33b61a4 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Blacklist another private symbolVille Voutilainen2022-11-161-0/+1
| | | | | | Task-number: QTBUG-108470 Change-Id: I90b6290a5f118351707506f2ee7e4c9a9c3196f0 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* The generation script doesn't work on Ubuntu's dashVille Voutilainen2022-10-201-1/+1
| | | | | | | | | Despite lofty attempts to avoid bashisms, this script is not accepted by dash. So let's just stop pretending that we know how to write plain bourne scripts, and change the shell to bash. Change-Id: I8b8db97ca900ac463dff2e40c5686b0caefdff11 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Port from container::count() and length() to size() - V4Marc Mutz2022-10-162-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a semantic patch using ClangTidyTransformator as in qtbase/df9d882d41b741fef7c5beeddb0abe9d904443d8, but extended to handle typedefs and accesses through pointers, too: const std::string o = "object"; auto hasTypeIgnoringPointer = [](auto type) { return anyOf(hasType(type), hasType(pointsTo(type))); }; auto derivedFromAnyOfClasses = [&](ArrayRef<StringRef> classes) { auto exprOfDeclaredType = [&](auto decl) { return expr(hasTypeIgnoringPointer(hasUnqualifiedDesugaredType(recordType(hasDeclaration(decl))))).bind(o); }; return exprOfDeclaredType(cxxRecordDecl(isSameOrDerivedFrom(hasAnyName(classes)))); }; auto renameMethod = [&] (ArrayRef<StringRef> classes, StringRef from, StringRef to) { return makeRule(cxxMemberCallExpr(on(derivedFromAnyOfClasses(classes)), callee(cxxMethodDecl(hasName(from), parameterCountIs(0)))), changeTo(cat(access(o, cat(to)), "()")), cat("use '", to, "' instead of '", from, "'")); }; renameMethod(<classes>, "count", "size"); renameMethod(<classes>, "length", "size"); a.k.a qt-port-to-std-compatible-api V4 with config Scope: 'Container'. Change-Id: Idbda176819f0ca2544d830ff084ae0bdd1977adf Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
* Add TypedFunction to BIC blacklistUlf Hermann2022-10-141-0/+1
| | | | | | | It's the same as AOTCompiledFunction. Change-Id: Ib78e7f9831617347fafde0d7f2d8bf78e861ed17 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* Change the license of all CMakeLists.txt and *.cmake files to BSDLucie Gérard2022-08-235-5/+5
| | | | | | | Task-number: QTBUG-105718 Change-Id: I644bb8dff7f3338c67d432d7c85ae875f30f0bdd Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* CMake: Don't use PUBLIC_LIBRARIES for tests and test helpersAlexandru Croitor2022-07-281-3/+3
| | | | | Change-Id: I9a48284bb1af2edee3d97635d1d7626dd697e777 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
* Add license headers to cmake filesLucie Gérard2022-07-075-0/+15
| | | | | | | | | | | | CMakeLists.txt and .cmake files of significant size (more than 2 lines according to our check in tst_license.pl) now have the copyright and license header. Existing copyright statements remain intact Task-number: QTBUG-88621 Change-Id: Ife447433b149060c9a0c055422c6f0e0e323df69 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Use SPDX license identifiersLucie Gérard2022-06-0810-270/+20
| | | | | | | | | | | Replace the current license header in files by a SPDX-License-Identifier. License files are organized under LICENSES directory. Pick-to: master Task-number: QTBUG-67283 Change-Id: I6ae743e055bbf1cf514abe604157068923fb03c6 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Blacklist two false positivesVille Voutilainen2022-05-091-0/+4
| | | | | | | | QNativeInterface::QSGVulkanTexture* have been deliberately removed, and QSGMaterialShader::GraphicsPipelineState is allowed to grow. Change-Id: I1b63867c3d10ca550251f014b07a64b34a5c28f9 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
* Fix BiC tests to be able to test multiple modules at onceVille Voutilainen2022-05-093-30/+118
| | | | | | Task-number: QTBUG-100698 Change-Id: If4b84cc030faafcab8566dc02ef86d253f1eb3a2 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
* Remove remnants of the old Intel C++ compilerThiago Macieira2022-05-032-7/+4
| | | | | | | | | | | | | | We don't support it any more. I don't think it has ever properly compiled Qt 6 (and it's no longer working for me against GCC 12's libstdc++ headers). If you report a bug against it, Intel support's first question is if you can try instead the new Clang/LLVM-based oneAPI C++ compiler. So we support only that one, which identifies itself as Q_CC_CLANG. Change-Id: I5ff8e16fcdcb4ffd9ab6fffd16eb57a092c8439e Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Remove .prev_CMakeLists.txtKai Köhne2022-03-222-47/+0
| | | | | | | These are leftovers from the qmake conversion. Change-Id: Ic03afab31c92c86f2886fbf9b088a7fbc3c5ac28 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Don't bic-test QQmlPrivate::RegisterTypeAndRevisionsFabian Kosmale2021-11-241-0/+1
| | | | | Change-Id: I2f52501f02759c293dadc9e687d1e1044b1e1ba8 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* Fix typo in tstBicTeemu Holappa2021-11-111-1/+1
| | | | | Change-Id: Iefec36bec923f744001858c42c1b5348f0a325e0 Reviewed-by: Toni Saario <toni.saario@qt.io>
* Don't bic-test QEGLContextVille Voutilainen2021-11-111-0/+2
| | | | | | Pick-to: master Change-Id: I1e988859d49d071bd07d61c78c275668a8c3718a Reviewed-by: Toni Saario <toni.saario@qt.io>
* Don't bic-test Vulkan typesVille Voutilainen2021-11-101-0/+2
| | | | | | | Change-Id: I5728938442d7899804a9924618e6dbfa7d1a9027 Reviewed-by: Toni Saario <toni.saario@qt.io> (cherry picked from commit 728f7349c0b8db3f023f1bfc24f7e5e9ea95de20) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* On Qt 6, run bic test against Qt 6, not against Qt 5Ville Voutilainen2021-10-281-0/+4
| | | | | | | Change-Id: Ia091c80303ddf042430cc841ab1662b47610ace6 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io> (cherry picked from commit d6184e0c744d33e47bab72258c534d4c08f5848d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Blacklist QBindingStatus and QQmlPrivate::AOTCompiledFunctionVille Voutilainen2021-10-281-0/+8
| | | | | | | | | | | | | It's a bit unfortunate that we need this. QBindingStatus is not used in a way that would require its size to never change, it has had data members added to it. The BIC test doesn't have a way to blacklist it in a way that would just keep its member offsets stable. We should eventually rewrite all of this to use libabigail, and add support for being able to say that a class is bic-stable as long as its existing data members don't move. Pick-to: master Change-Id: I97b13236249a76dc6ab24037d4d8d29611356f40 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* Fix warning about format string not being string literalTor Arne Vestbø2021-08-041-2/+2
| | | | | Change-Id: I0c12defc9b10f351d584169a57111d733e81bb16 Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
* Replace uses of deprecated QWARN macro with qWarningTor Arne Vestbø2021-08-034-8/+8
| | | | | Change-Id: I3172e3fa0dc51a4452a2da4dcbd43699b026f704 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* In Qt6, bic test needs to compile code in C++17 modeVille Voutilainen2021-03-232-2/+2
| | | | | | Change-Id: I2f66d6ad0c18535721b761cabc264fc57734bf3c Pick-to: master Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* Postbuild C++ tests: Silence buildFriedemann Kleint2021-02-222-1/+11
| | | | | | | Pick-to: master Task-number: QTBUG-91268 Change-Id: I590c1a4edfbe1f681847b7a13fdb74ecbb6366c0 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* Fix build of the manual gui app launcher test on WindowsFriedemann Kleint2021-02-221-6/+31
| | | | | | | | | | | Remove the dependency on Q_PID returned in 5.15 and obtain the process handle via pid. Fix the test to work with 5.15 and 6. Pick-to: master Fixes: QTBUG-91268 Change-Id: Id9058b30e98811626157111971201536e40d627a Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
* Build fixes for GCC 11Ville Voutilainen2021-01-183-16/+18
| | | | | | | Task-number: QTBUG-89977 Change-Id: Ia488d2b36f4b05e5485e56ed7fdb5ee62ead321f Pick-to: master Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Port QProcess::pid() usages to QProcess::processId()Vlad Zahorodnii2020-10-121-2/+5
| | | | | | | QProcess::pid() was dropped. Its replacement is QProcess::processId(). Change-Id: I1223efdcd096cb251ae1d9cd838e1ab98646b4c2 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* CMake: Regenerate projects to use new qt_internal_ APIAlexandru Croitor2020-10-016-11/+11
| | | | | | | | Modify special case locations to use the new API as well. Task-number: QTBUG-86815 Change-Id: I6150fa53afd477a9770c71ac06525b3ad927ece9 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* Fix BIC test to build against latest changes in qtbaseTor Arne Vestbø2020-08-221-3/+3
| | | | | | Fixes: QTQAINFRA-3877 Change-Id: If7e016003da55ba58f490eb57285d2c2b30c0a59 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
* Remove deprecated algorithms from tst_symbolsLars Schmertmann2020-08-211-3/+2
| | | | | | | | Change-Id: Ie91244a8a10ff202401136f9d565ffd93b902575 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Liang Qi <liang.qi@qt.io> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* Add ; to Q_UNUSEDLars Schmertmann2020-06-291-3/+3
| | | | | | | | | This is required to remove the ; from the macro with Qt 6. Task-number: QTBUG-82978 Change-Id: I98d2b563342b93f9da2494de3020b846b2f8ae60 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* CMake: Port qtqa to CMakeAlexandru Croitor2020-06-027-0/+160
| | | | | | | | | | | | | | | | | | | | Some parts were not ported because they were deemed unnecessary for now. This includes the scripts directory (which has a bunch perl scripts wrapped in qmake make targets), and the tests/prebuild directory which only has the perl license checking script. The following 3 projects were made standalone buildable, to support the same use case that Coin does with qmake (calling qmake directly on those projects), even though some of them might not be necessary anymore: scripts, tests, tests/postbuild/bic (arguably the only one needed). Task-number: QTBUG-84233 Change-Id: I6f151f9044a61f4ddbd029351c5ebf225f1bf82d Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* guiapplauncher: Fix deprecated APIFriedemann Kleint2020-05-203-32/+28
| | | | | | | | | - Use QString::fromUtf16 with char16_t in Qt 6 - Use QThread::msleep() which is public since Qt 5 - Polish a bit, add override Change-Id: Ia0f599d66d4b71689cc0c7577242c9b87261bb9c Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
* Add multiline option to compiler version regular expressionEdward Welbourne2020-05-201-2/+3
| | | | | | | The g++ --version output is spread over many lines. Change-Id: I39d31a5b95b257018b4913bb9c50e51032bcb655 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Fix build with latest qtbase devLiang Qi2020-05-201-5/+5
| | | | | Change-Id: If39b8ad925b1cdbc6e3bf846b655b7a2c7894e48 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
* Port QRegExp usages to QRegularExpressionLiang Qi2020-05-206-45/+48
| | | | | Change-Id: Id4a748ea4789d5b13c29ec4444feb23b561bea18 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Use Qt::SplitBehavior in preference to QString::SplitBehaviorEdward Welbourne2020-02-271-0/+4
| | | | | | | | The Qt version was added in 5.14 "for use as eventual replacement for QString::SplitBehavior." Move another step closer to that goal. Change-Id: I17a1c8f10318770e2fcbac3a24b21a63eb448db3 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>