Improve CI & tests for install-src/doc/example

This updates CI and unit tests to monitor behavior of
`install-src/doc/example`, now that the `target` parameter has been
deprecated. This makes sure that the `target` parameter is optional,
and that the CLI warns the user that `target` is deprecated when a user
uses it.

[CI tests]:
This adds a test to `install-src/doc/example` Azure Pipeline jobs to
ensure that the desired files are installed, using `ls`.

This also changes some of the archives installed to `qtlottie`, which
is a particularly small file.

This also adds a build job for `install-example`.

[Unit tests]:
This adds tests for `install-src`, with and without the `target`
parameter.

It also fixes existing tests for `install-doc`, to account for
changes to the `target` parameter.
This commit is contained in:
David Dalcino
2021-11-22 14:09:46 -08:00
parent e6cd276e20
commit c7320cb0f1
3 changed files with 93 additions and 6 deletions

View File

@@ -201,10 +201,15 @@ linux_build_jobs.extend(
subarchives="qtbase qttools qt icu",
),
BuildJob(
"install-src", "6.1.0", "linux", "desktop", "gcc_64", "gcc_64", subarchives="qt"
"install-src", "6.1.0", "linux", "desktop", "gcc_64", "gcc_64", subarchives="qtlottie"
),
BuildJob(
"install-doc", "6.1.0", "linux", "desktop", "gcc_64", "gcc_64", subarchives="qtdoc"
"install-doc", "6.1.0", "linux", "desktop", "gcc_64", "gcc_64",
subarchives="qtdoc qtlottieanimation", module="qtlottie"
),
BuildJob(
"install-example", "6.1.0", "linux", "desktop", "gcc_64", "gcc_64",
subarchives="qtdoc qtlottie", module="qtlottie"
),
# test for list commands
BuildJob('list', '5.15.2', 'linux', 'desktop', 'gcc_64', '', spec="<6", list_options={