summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen
Commit message (Collapse)AuthorAgeFilesLines
* Autogen: Add ManySources testSebastian Holtermann2019-04-158-0/+131
| | | | | | | The QtAutogen/ManySources test generates a number of source, header, .ui and .qrc files that get AUTOMOC, AUTOUIC and AUTORCC processed. This stresses the concurrency framework in `cmQtAutoMocUic` and should reveal any issues with that.
* Tests: Fix Qt*Autogen.GlobalAutogenTarget to use matching generatorBrad King2019-04-101-0/+3
| | | | | | Build the GAT project with the same generator as the rest of the test. This was accidentally left out of commit 8c8731b422 (Autogen: Add test for CMAKE_GLOBAL_AUTOGEN/RCC_TARGET, 2018-11-11, v3.14.0-rc1~396^2~2).
* Autogen: Fix RerunMocPlugin test for Ninja generatorSebastian Holtermann2019-02-151-11/+4
|
* Autogen: Refactor RerunRccDepends test with fixed timestamp comparisonSebastian Holtermann2019-02-131-80/+95
| | | | | | | This refactors and simplifies the QtAutogen.RerunRccDepends test. Repetitive task are packed into macros. By using version strings to store file timestamps, timestamp comparison becomes more reliable. Test status and error messages are improved.
* Autogen: Refactor RerunRccConfigChange testSebastian Holtermann2019-02-131-14/+19
| | | | | | This refactors and simplifies the QtAutogen.RerunRccConfigChange test. Repetitive task are packed into macros. Test status and error messages are improved.
* Autogen: Refactor RerunMocBasic test with fixed timestamp comparisonSebastian Holtermann2019-02-131-31/+67
| | | | | | | This refactors and simplifies the QtAutogen.RerunMocBasic test. Repetitive task are packed into macros. By using version strings to store file timestamps, timestamp comparison becomes more reliable. Test status and error messages are improved.
* Autogen: Refactor RerunMocPlugin test with fixed timestamp comparisonSebastian Holtermann2019-02-131-58/+93
| | | | | | | This refactors and simplifies the QtAutogen.RerunMocPlugin test. Repetitive task are packed into macros. By using version strings to store file timestamps, timestamp comparison becomes more reliable. Test status and error messages are improved.
* Autogen: Extend the SameName test with same name but different extension filesSebastian Holtermann2019-02-056-1/+68
|
* Autogen: Reenable passing compiler implicit include directories to mocSebastian Holtermann2019-01-283-2/+11
| | | | | | | | | | | Since commit 5990ecb741 (Compute implicit include directories from compiler output, 2018-12-07) we now have compiler implicit include directory computation for gcc and clang. It should be safe now to pass these to `moc`. This patch re-enables passing the compiler implicit include directories to `moc`, which was disabled due to issue #18669. Fixes: #18041 Issue: #18669
* Autogen: Revert passing compiler implicit includes to mocSebastian Holtermann2018-12-071-1/+2
| | | | | | | | | Passing an incomplete list of compiler include directories causes a regression in the KIO project (and probably others). We need to disable it until the complete list is available (see #16291). Fixes: #18669 Issue: #18041
* Autogen: Add QtAutogen.UicNoGui testSebastian Holtermann2018-11-287-0/+50
| | | | | Adds a Qt core only test that has ``AUTOUIC`` enabled targets that don't link against QtXWidgets or Qt at all.
* Autogen: Tests: Differentiate between Qt core and Qt gui testsSebastian Holtermann2018-11-2843-46/+103
| | | | | | | | Some AUTOGEN tests require the Qt core libraries only and some require the Qt gui libraries to function. This replaces the AutogenTest.cmake script with two specific AutogenCoreTest.cmake and AutogenGuiTest.cmake scripts that are included on demand.
* Autogen: Sort testsSebastian Holtermann2018-11-141-36/+30
|
* Autogen: Add a definitions test to the MocOnly testSebastian Holtermann2018-11-142-1/+7
|
* Autogen: Add test for CMAKE_GLOBAL_AUTOGEN/RCC_TARGETSebastian Holtermann2018-11-1117-0/+279
|
* Autogen: Separate AUTOGEN_TARGET_DEPENDS tests into own tests suiteSebastian Holtermann2018-11-057-48/+70
| | | | | | The tests for AUTOGEN_TARGET_DEPENDS were part of the AutogenOriginDependsOn tests suite. This separates them into an own AutogenTargetDepends tests suite.
* Autogen: Rename MocDepends test to AutogenOriginDependsOnSebastian Holtermann2018-11-0312-2/+2
|
* Autogen: Add test for AUTOGEN_ORIGIN_DEPENDS=OFFSebastian Holtermann2018-11-0312-0/+238
|
* Fix misc. typosluz.paz2018-10-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Found via `codespell -q 3 -I ../cmake-whitelist.txt --skip="./Utilities"` where the whitelist consists of ``` aci ans behaviour buil convertor dum earch ect emmited emmitted helpfull iff isnt ith lowercased mose nd nknown nto objext ot pathes pevents splitted substract superceded supercedes te tim todays uint upto whitespaces ```
* Autogen: Tests: Use non inverting Qt version testsSebastian Holtermann2018-08-096-11/+11
|
* Autogen: Check if we can run the MocOsMacros testSebastian Holtermann2018-08-072-9/+25
| | | | | | | | | | The MocOsMacros test requires moc to support moc_predefs.h on some platforms (e.g. Mac). moc supports moc_predefs.h inclusion since Qt 5.8, therefore run the MocOsMacros only if Qt >= 5.8 and if CMAKE_CXX_COMPILER_PREDEFINES_COMMAND is defined. Fixes #18245
* Autogen: Add test for Q_OS_ macrosSebastian Holtermann2018-07-305-0/+180
|
* Autogen: Enable CMAKE_AUTOGEN_VERBOSE in all testsSebastian Holtermann2018-06-215-0/+5
|
* Revise C++ coding style using clang-format-6.0Kitware Robot2018-06-016-7/+10
| | | | | | | | | | | | Run the `clang-format.bash` script to update all our C and C++ code to a new style defined by `.clang-format`. Use `clang-format` version 6.0. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit.
* Autogen: Add AUTORCC configuration change testSebastian Holtermann2018-05-3011-0/+94
|
* Tests: Add QtAutogen test for a low cmake_minimum_required versionSebastian Holtermann2018-05-168-1/+92
|
* Cleanup: Fix typos and grammar in docs and codeCraig Scott2018-04-221-1/+1
| | | No functional changes, just docs, comments and error messages.
* Replaces execute_process calls to touch files with file(TOUCH) callsShane Parris2018-02-151-4/+2
|
* Autogen: Tests: Extend AUTOUIC include patterns testSebastian Holtermann2018-01-1911-46/+116
|
* Autogen: Tests: Extend AUTOMOC include patterns testSebastian Holtermann2018-01-186-2/+82
|
* Autogen: Tests: Add AUTOGEN_PARALLEL testsSebastian Holtermann2018-01-1731-0/+475
|
* Autogen: Tests: Fix MocInclude test(s)Sebastian Holtermann2018-01-179-0/+18
|
* Merge topic 'use_generator_is_multi_config'Brad King2018-01-083-4/+5
|\ | | | | | | | | | | | | | | 3c413e2a GENERATOR_IS_MULTI_CONFIG: Use for multi-config checks in Modules c267ea1c GENERATOR_IS_MULTI_CONFIG: Use for multi-config checks in Tests Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1627
| * GENERATOR_IS_MULTI_CONFIG: Use for multi-config checks in TestsCraig Scott2017-12-293-4/+5
| |
* | Various typo fixesLuz Paz2018-01-031-1/+1
|/ | | | Some are user-facing. Others are source comments.
* Autogen: Tests: Move QtAutoUicInterface test to QtAutogen/UicInterfaceSebastian Holtermann2017-12-1311-0/+297
|
* Autogen: Tests: Separate RerunRccDepends testSebastian Holtermann2017-12-1313-0/+209
|
* Autogen: Tests: Separate RerunMocPlugin testSebastian Holtermann2017-12-1324-0/+292
|
* Autogen: Tests: Separate RerunMocBasic testSebastian Holtermann2017-12-139-0/+140
|
* Autogen: Tests: Separate Complex testSebastian Holtermann2017-12-1359-108/+5
|
* Autogen: Tests: Separate StaticLibraryCycle testSebastian Holtermann2017-12-1311-13/+20
|
* Autogen: Tests: Separate SameName testSebastian Holtermann2017-12-1326-5/+7
|
* Autogen: Tests: Separate MacOsFW testSebastian Holtermann2017-12-139-8/+6
|
* Autogen: Tests: Separate ObjectLibrary testSebastian Holtermann2017-12-139-4/+5
|
* Autogen: Tests: Separate UicInclude testSebastian Holtermann2017-12-1312-5/+5
|
* Autogen: Tests: Separate MocCMP0071 testSebastian Holtermann2017-12-1310-12/+11
|
* Autogen: Tests: Separate MocInclude testSebastian Holtermann2017-12-1352-36/+42
|
* Autogen: Tests: Separate MocDepends testSebastian Holtermann2017-12-1313-25/+10
|
* Autogen: Tests: Separate MocMacroName testSebastian Holtermann2017-12-1314-19/+33
|
* Autogen: Tests: Separate RccSkipSource testSebastian Holtermann2017-12-137-21/+24
|