| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Remove entries that show BPASS.
Add QtQml::bug_451.
Task-number: PYSIDE-431
Change-Id: I4520e0c061df34c5a4d5a644bd8dd50154ee5de2
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
To be able to test changes to pyside-setup submodules
with Qt CI, we have to set-up the source package ourself.
This script will do necessary changes to sources so that
test is executed in proper context.
Change-Id: I681be6b9d4a9d1fb100b1fb88ba5791f3f44200e
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Testrunner did only run the pyside2 tests.
This new version also allows to specify the projects “shiboken2” and “pyside2-tools”.
Now multiple tests can be specified.
Interesting:
All shiboken2 tests succeed, all pyside2-tools tests fail.
Update: the pyside-tools tests work too, but the setup does not work
automatically, yet. A “make” must be run in the pyside2-tools directory,
and “pyside2-rcc -o example_rc.py example.qrc” must be run in order to
generate a resource file.
The tests are run according to a list. The default is currently
“—projects=shiboken2 pyside2”.
Change-Id: I69f08402de0956098aaca5553f98ce50cbf6eae5
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
| |
Python 2.X returns 'linux2' as platform for compatibility reasons regardless
of the kernel version whereas Python 3.3 onwards returns 'linux'.
Fixes blacklisting to work with newer versions of Python.
Change-Id: I1d3fd72feaa42bd5c89fa10a9a73474a92a6ab53
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
| |
From time to time, submodules need to be updated.
Actually, I would even like to update the master module after every submodule
checkin, but this seems to be not easy to do all the time.
Change-Id: I52f266c58086186df05ddcc85085f35e2e28ead7
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The script was mistakenly reporting
FAIL : QtCore::bug_PYSIDE()
for
FAIL : QtCore::bug_PYSIDE-164()
Fix by extending the regular expression.
Change-Id: Id6ca4c75489bd577e25723efd62840f714e67ae4
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The testrunner module allowed only the last build to be tested.
This patch allows to specify an arbitrary test index.
The default is -1, which gives the normal behavior.
The argument ‘—buildno’ specifies which build is to be selected.
Note that multiple builds with the same directory are not valid, because the
latest entry always overwrites the older ones. But for different configurations
this makes sense.
The default runtime was set to 600 s.
Change-Id: Ib5b33a09dc0af7e36230ca4eba3c21c8970d8212
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This was not really set. The setup supported 3.2, the default was saying 3.4,
and I have set it now to 3.3.
Reason:
Besides a sensible useful minimum version, Python 3.3.3 is the only currently
working version, which allows for a debug python build on macOS. I need this
for my debugging work, admittedly.
So this change is really made to support PYSIDE-79.
Victor Stinner has supplied a patch three years ago, see
https://mail.python.org/pipermail/python-bugs-list/2013-July/209044.html
Since then, the patch was not maintained, and the problem has crept into python, again.
If I find some time for it, then I will fix it.
Task-number: PYSIDE-79
Change-Id: I1b7d4ff1613d31567095636edc61f4222fad08dd
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
|
| |
Testrunner has even more variable texts to recognize.
We change the regex slightly so that it always succeeds.
Change-Id: Iac156592aac48afb5aea522540ae63c92ca2572a
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
| |
Change-Id: Ia33affd98544e169ce63c0753429b6fc447822ff
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The paths for "qmake" and "cmake" will not work when they are relative paths.
This problem is pretty subtle, when setup.py breaks because it cannot create the
simple list at line 712, variable "cmake_cmd". This innocent looking list is causing problems, because
it uses qtinfo.py, and this is dependent on properties which call back into
the subprocess module!
The properties in qtinfo.py are now real properties, because their values are
early computed in __init__. The problem is solved by this patch.
Change-Id: I877b6644fa2909ca9ac1f23d4ce5accfc869716b
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
| |
Presence of the variable enables the generation of the doc targets
in PySide2.
Task-number: PYSIDE-363
Change-Id: I0e1d4702da297f2390f09f9354c413da24febee1
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
The header is required to satisfy the license checker when running
against qtbase 5.6. The change might need to be reverted for 5.7
and higher.
Task-number: PYSIDE-431
Change-Id: I1c662040a055c8451fdd66339cd8eb72594a198f
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Simo Fält <simo.falt@theqtcompany.com>
|
|
|
|
|
|
| |
Task-number: PYSIDE-431
Change-Id: Ic2fea5d524c6bee86eae4616968df5b2a5a6b942
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|
|
|
|
|
| |
Change-Id: I049929e2c4e24554866000df5daa063071060884
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There are a couple of effects when running testrunner.py in real life.
Fix: It reports success when there are no tests found.
Fix and extend the recognition of relative paths.
Add a "getcwd" sub-command to get external access to the build folder.
The make command uses no longer "-C" for easier environ access.
Change-Id: Iee2f81ed762b9773021055d26f9b144c31acbe35
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
| |
Change-Id: I7ebf94d93ce5125deadf103bb4354e54079a372b
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PySide is currently in an unfinished state. Therefore, running all the
tests will never return a success.
To make this more useful, this script is controlled by a blacklist,
in order to keep record of the known-to-fail tests.
On success: zero error status
On Failure: nonzero (raises ValueError)
The test parser uses a blacklist file that is compatible to standard
Qt blacklist files.
macOS, Ubuntu and windows (thanks to fkleint) are supported.
The blacklist has a feature where new configurations are learned.
It first removes old versions of the same tests, before it inserts the new ones.
Blacklisting is now optional.
We support now py2, py3, qt5, qt5.6 etc.
Some consideration about collapsing the data are added.
The parser has now a sub-command "test" that is mandatory.
Support for moving the build_dir to another location without loosing the tests so far.
Implement BPASS.
Support CTEST_OUTPUT_ON_FAILURE
Change-Id: If66d3cf1733a3b0c8a47fe9b8c6aec8ea430c699
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
| |
Use get() with default value. Amends
8b484df1cf36cbf43192bc1e4669b5e3dcb591e7.
Change-Id: I728747e2de1ef9878a7a7698ec701055fcf18363
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
| |
Use testenv_name_build/testenv_name_install instead of
pyside_build_install when a virtual environment exists.
This makes it easier to maintain builds in varying
environments in parallel for comparing things.
Change-Id: I33f672a24d871ccb8c9aad1614b7b3eded33b93c
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
|
| |
Strings are already encoded as utf8, so there is no need to call
decode on them.
Change-Id: Idfaaa5f5092fb6010ea64b7abf754d7b343d07e5
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Avoid unnecessarily re-initializing the submodules and checking
out branches.
In a first loop, collect the subdirectories and check whether any
are missing. Initialize submodules only in that case.
In the second loop, check out the correct branch if it differs.
Change-Id: I3c16fd9b7bd6feb77b7b921d61f7e622cfab797f
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
|
|
| |
Check whether nmake can actually be found.
Invert option --jom to --no-jom so that jom is used by default.
As options are not checked, --jom will then be simply ignored.
Change-Id: I67bd7f92d3bb2800530847abe0808283ca14d8a4
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
|
| |
It is sometimes hard to tell whether the build finished successfully,
add a message to show it.
Change-Id: If9a20272f851fbe0ade801ddab1bee11fca807da
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move all code that was unconditionally executed at startup
into a subroutine prepareBuild() and execute that from the build command
class.
Overwrite the Distutils'_install to be extended.
This makes the standard --help options of DistUtils work as expected
and causes the script to require a command argument instead of
starting unconditionally.
Change-Id: I0bf1bfc4ba0e15662122733b04e468f1838e4ae8
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
| |
Verify that the commands exist.
Change-Id: I8a4263320774f151848f68b04bc7b4447afe2579
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
| |
Change-Id: Id24505e17c39a0e81fab283f04e53923d9f56d6a
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
| |
Point to the Qt wiki and code.qt.io.
Change-Id: I94ab781ae1cccd3fc73ee9dc7a09401b0f28e0e4
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
| |
Change-Id: Ibe3f461466d043108370682f252865adda3c6b41
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Change the examples to the dev branch
- Introduce an optional 3rd parameter to the submodules hash
pointing to the directory and use that to switch the wiki module
to the master branch.
This makes it possible to run commands like
git submodule foreach git pull
which did not work previously due to the wiki submodule being in a headless
state.
Change-Id: Ib90f68f73e3401431fd2dce90f02ed75095a5429
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
| |
Change-Id: I259c93a344ca61ba1a3c71d9eff5f83bc4c2722d
Reviewed-by: Alexandru Croitor <alexandru.croitor@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
--reuse-build option will rebuild only modified sources,
--skip-cmake skips generating new Makefiles,
--skip-make-install skips executing make install,
--skip-packaging will not create a python package.
A combination of these can decrease development iteration time,
instead of constantly rebuilding the whole world, or waiting for
the packaging to be done, when you are only interested if a certain
file compiles.
Change-Id: I755f102573dcb37ceb1b835b0843f244c2d4114e
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The recent change that made use of framework headers on OS/X did
not work with homebrew Qt, and it didn't work with official builds
either, because neither of the chosen include folders contained
all the necessary headers to lead to a successful build.
Fortunately shiboken actually supports being passed multiple include
locations, separated by a colon on OS/X, and a semicolon on Windows.
This patch makes sure to always pass the Qt include folder, and in
case if the Qt build is a framework build, also passes the root
frameworks location, with headers found by shiboken under
frameworkName.framewework/Headers.
This works for homebrew builds, official builds and custom
non-installed prefix / in-source builds of Qt.
Change-Id: I47b24e197839883de2ab873461efc1f4d4d33743
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
| |
While using Qt binaries installed with Qt Company installer,
pyside can't find header files which are installed to
lib/Qt<module>.framework/Headers directory.
Change-Id: If74f5b3bf0f139bbcc6e9b62fb16e125f6ca9d4c
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
| |
Qt Quick 1 has been removed in Qt 5.6.
Change-Id: I4db96e3a5613d8abe208841752c6ea25e72c4a8e
Reviewed-by: Alexandru Croitor <alexandru.croitor@theqtcompany.com>
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
| |
The change allows using the provided SDK in all compilation targets.
Change-Id: I2b5d7b24af725e82c5468b9a5e22cc60fd0e42c4
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
| |
Added .git to URLs so that users can 'clone --recursive the project
Change-Id: I15974b20869444354a1c967988638e960a9fda33
Reviewed-by: Christian Tismer <tismer@stackless.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Versions of OSX lower than 10.9 link libstdc++ by default.
Also libstdc++ is linked when the osx minimum deployment target is
lower than 10.9.
The new option allows explicitly linking libc++ in the cases mentioned
above. It is not enabled by default, because most libraries and
executables on versions lower than 10.9 are compiled with libstdc++,
and mixing standard library versions can lead to crashes.
Change-Id: I7397d2bbce2cfceaeb848f25e0bbf1a24ac9bde8
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
| |
Change-Id: Iaa22b81c4e18e2490cedc547443a58680cd7764b
Reviewed-by: Alexandru Croitor <alexandru.croitor@theqtcompany.com>
Reviewed-by: Christian Tismer <tismer@stackless.com>
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
|
|
|
|
|
|
|
| |
The spaces instead of tabs, broke the Coin CI parsing of the urls.
Change-Id: I65c1336cb1bd291f2a5b629bb8e431b65491b7d3
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
|
|
|
|
|
|
|
|
| |
Those should be coded relative so that when for example cloning pyside-setup
from Gerrit, the submodules should also come from Gerrit.
Change-Id: I579711eed64f0356bd5282617cfccb29937b0425
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Clone submodules from code.qt.io and adapt branches.
Change-Id: Iecf128ca00c4eb25e5450db8630e42e9307bd7cc
Reviewed-by: Alexandru Croitor <alexandru.croitor@theqtcompany.com>
Reviewed-by: Christian Tismer <tismer@stackless.com>
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
|
| |
|
|
|
|
| |
This was modified, but not corrected in setup.py
|
|\
| |
| | |
Fix AppVeyor build. Simple version.
|
|/
|
|
| |
Fixes #36.
|
|\
| |
| | |
Show diagnostic info
|
| | |
|
| | |
|
| | |
|