summaryrefslogtreecommitdiffstats
path: root/tests/packagecreator/tst_packagecreator.cpp
Commit message (Collapse)AuthorAgeFilesLines
* cmake: Nearly full cmake buildRobert Griebl2021-06-181-185/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | Had to rename a lot of things to conform with the standard Qt module layout that the cmake system expects: - all non-manual tests were moved to a sub-dir named auto/ - the benchmark was moved to tests/ - the 3rdparty folder was moved into src/ Other changes: - libyaml was updated to 2.2.5 while fixing a weird build issue that led to crashes on 64bit systems. - fixed build issues with the new 8.1 MingW compiler. - added support for QT_NO_OPENGL builds. The remaining issues are: - examples still don't build with qmake due to a potential bug in module.pri generation. - tests do run, but the test data is not generated yet dynamically. - qml-only tests are not built and run yet. - qml-only examples are not built yet. Fixes: AUTOSUITE-1632 Change-Id: Ic5fe0148e738b05835c73bed78e624b55861b75e Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* Update copyright headers to 2021 an finally switch to the GPLRobert Griebl2021-06-011-8/+9
| | | | | | | | | Also removed all the SPDX tags and -QTAS license extensions. Change-Id: Ibd10fe37afcbba832831d027cf2f1891ca0226c0 Fixes: AUTOSUITE-1648 Fixes: AUTOSUITE-1646 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* Replace calls that got deprecated in Qt 5.15Robert Griebl2020-05-271-1/+1
| | | | | | | Please note that this makes the 5.15 branch incompatible with Qt < 5.15 Change-Id: Ie906aa03c00b7d688c84c63cb94f87ca3428e071 Reviewed-by: Bernd Weimer <bernd.weimer@pelagicore.com>
* Rename from Luxoft AM to Qt AMRobert Griebl2019-08-051-1/+1
| | | | | | Change-Id: I84bbd9e7f735ed1864804a9887d3a02b7c925e53 Reviewed-by: Vladimir Minenko <vladimir.minenko@pelagicore.com> Reviewed-by: Bernd Weimer <bernd.weimer@pelagicore.com>
* Add new package abstraction, which allows multiple executables per packageRobert Griebl2019-08-011-3/+3
| | | | | | | | This is part 1 which is missing doc updates and missing the update-builtin- applications functionality. Both will be added in a follow-up commit. Change-Id: I2b493cfb7585143962067674690b02cc132ef78b Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Update copyright statementsRobert Griebl2018-12-181-1/+2
| | | | | | | | - added 2019 - everything is (c) Luxoft instead of Pelagicore from now on Change-Id: I82f874f0b0601deae1bb39347821edaf3c4cc6d8 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Windows fixesRobert Griebl2018-10-191-0/+3
| | | | | | | | | | | 1) 'true' is not a valid command in Window's cmd.exe 2) Avoid a crash on exit due to the ConsoleThread being killed 3) Fix warning in int -> void * conversion on 64bit builds 4) Win10 1803 now comes with a bsdtar in c:\windows that actually works, but it returns windows-style \r\n line breaks Change-Id: I0340ee3e5185298f5b0a5e7d7cf5e2ef57b8b9a3 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Update Pelagicore copyright headers to 2018Robert Griebl2018-02-071-1/+1
| | | | | Change-Id: I8d9278053ccdef5a57e51753aa6157941ebcee52 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Move more code out of common-lib into more appropriate modulesRobert Griebl2017-05-291-0/+1
| | | | | | | Also reduced the amount of template code in utilities.h Change-Id: Ic9d3a7fc0b8ca404a5203fe3067a980c3551fb60 Reviewed-by: Thomas Senyk <thomas.senyk@pelagicore.com>
* Move a lot of code out of utilities.cpp into more appropriate modulesRobert Griebl2017-05-291-3/+3
| | | | | Change-Id: I8c298700e1daf75bf23c66b0b8d811f6304635c5 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Extend timeout-factor correction from auto-tests to the appman itselfRobert Griebl2017-05-161-4/+1
| | | | | | | | | All hardcoded timed waits can now be prolonged by running the appman (or the auto-tests) with $AM_TIMEOUT_FACTOR set to an integer value > 1. This is especially useful when running under valgrind. Change-Id: I96094281e70cc681584524d8475f09a976074b8a Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Replace all foreach loops with C++11 ranged-for loopsRobert Griebl2017-03-141-1/+1
| | | | | | | Also replaced a few loops with more efficient implementations. Change-Id: I56f9242a410741fc5e7a291be7c6090c599b7666 Reviewed-by: Thomas Senyk <thomas.senyk@pelagicore.com>
* Make it possible to slow down all tests that wait at some pointRobert Griebl2017-02-221-6/+13
| | | | | | | | Each of those tests now checks the $TIMEOUT_FACTOR environment variable and adjusts its wait timeouts accordingly. Change-Id: I54086f83b0b3b3e3bcfacf4f15b1ea6b959b7703 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Updated Pelagicore AG copyright to 2017Robert Griebl2017-01-161-1/+1
| | | | | | | Also added a few pro file tweaks to make this search&replace easier next year. Change-Id: I2d1153d62bfe558075009abcd8cad491f149c93f Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Fixed auto-tests on WindowsRobert Griebl2016-12-061-3/+23
| | | | | | | | | | | Some tests need Unix tools in the path and they are now able to make use of a Cygwin environment, if it is available. Also fixed the test certificate generation, since it produced invalid p12s that somehow did work with OpenSSL/SecurityFramework. Change-Id: Id5c942b8d4532dc70872b434b49e0fee9f4f0c65 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Make the build warning freeRobert Griebl2016-10-191-1/+1
| | | | | | | | | Replaced all AM_*_NAMESPACE with the undocumented QT_*_NAMESPACE_<foo> mechanism. Add dummy "we mean it" comments to _p.h headers, even though all of the AM's C++ API is private anyway. Change-Id: I45c1b7490f3d519e79350a19dab129ad20623d92 Reviewed-by: Thomas Senyk <thomas.senyk@pelagicore.com>
* Reimplemented build-system as a real Qt moduleRobert Griebl2016-10-171-4/+14
| | | | | | | | | | This should help with doc generation and actually running the unit-tests in the CI system. Please note that the binaries are now installed into $$[QT_INSTALL_BINS] Change-Id: I6f27ba39f8e5d923e1aeff550ba11c1fbd8ac5cf Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Fixed license header to align with the final QtAS contract.Robert Griebl2016-06-021-6/+3
| | | | | | | | | | | The AppMan is triple-licensed now, like the rest of Qt: commercial, LGPL3 and GPL2/3 To be more aligned with Qt, the docs are also FDL and the tests, as well as the tools are GPL-EXCEPT now. Change-Id: Ib0168a112c3bcd340576f92416a6fe36fa315240 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Use the same license wording for GPL3 as the standard Qt 5.7 license.Robert Griebl2016-04-111-13/+14
| | | | | Change-Id: I0f8cb01cd1239bf70434f3b39392a1464c32620e Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Updated copyright year to 2016Robert Griebl2016-03-171-1/+1
| | | | | Change-Id: I2630c098272ec75bed0333d7eab0610c0c621893 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Fixed all relevant clazy warnings - especially QString related ones.Robert Griebl2016-01-141-10/+11
| | | | | | | | | | | | Most error strings have not been converted to QStringLiterals on purpose: It's a better tradeoff here to use half the space and take a "performance hit" when running into an (unlikely) error condition. Please note that still no version of MSVC is able to cope with concatenated string literals: http://blog.qt.io/blog/2014/06/13/qt-weekly-13-qstringliteral Change-Id: Ife5f5841de121da75838ae9dbb67909a5816768e Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Tweaked the header layout a little bit, so that it passes the CI check.Robert Griebl2015-11-201-5/+5
| | | | | | | Also change-id I8ffe7bca in qtqa is needed for this to work. Change-Id: I15d1e641e5d3888b4a46c16267a6059f85b32487 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
* Initial commit of Pelagicore's ApplicationManager with squashed history.Robert Griebl2015-10-261-0/+146
(minus all 3rd party stuff - we will re-add them later, potentially changing the way some of them are handled completely) Change-Id: I55f15b12f0dbe0c4f979206eaa163d4793ff7073 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>