| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
All changes were created by running
"pyupgrade --py3-only"
and committing the results. Although this has been performed in the
past, newer versions of pyupgrade can automatically catch more
opportunities, notably list comprehensions can use generators instead,
in the following cases:
- unpacking into function arguments as function(*generator)
- unpacking into assignments of the form x, y = generator
- as the argument to some builtin functions such as min/max/sorted
Also catch a few creeping cases of new code added using older styles.
|
| |
|
| |
|
| |
|
|
|
|
| |
Adds new installed file types with @VAR@ substitution.
|
|
|
|
| |
This reverts commit 6c55fc5cb0f6f363d5221c9bd0c1fd1fc6f90f4a
|
|
|
|
|
|
| |
This reverts commit 75688240cfca7eed08c2754daa784c9bd1a70a73
Should've been fixed by c95bffb295dd8ae12dd37c9a6c33372a20cf9a68
|
|
|
|
|
|
|
|
|
| |
Fixes regression in commit 75688240cfca7eed08c2754daa784c9bd1a70a73.
Even though this function is *currently* only invoked on Windows, these
environment variables may not actually exist -- and apparently don't in
at least the "UnusedMissingReturn / windows" test run, which... did not
get triggered by that commit, since it only edited the testsuite runner,
not any test cases. \o/
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Also check skip is as expected for CI all runs, not just those that set
MESON_CI_JOBNAME.
|
|
|
|
|
|
|
|
|
| |
The Environment object constructor accepts None as build_dir (for quite
a while now), so don't bother with creating a temporary directory for
use as the build_dir, if we're not going to need it.
Future work: Environment.__init__() sets scratch_dir to '' if build_dir
is None, which seems a little wonky, as it isn't a path.
|
|
|
|
|
|
|
|
| |
Remove hard-coded framework test skip logic in skippable(), instead
annotate test.json with environments in which skip is expected.
(Mainly this is done with by testing the value of MESON_CI_JOBNAME now
set for linux jobs)
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Plan to replace the hard-coded list of 'may be skipped' framework tests in
skippable() with annotations in test.json which record 'will be skipped
in these specific CI jobs'.
If the value of the MESON_CI_JOBNAME env var (an arbitrary string
expected to be unique for each CI configuration) contains any of the
strings in the `skip_on_jobname` key in test.json, the test is expected
to output MESON_SKIP_TEST.
Unexpected skips or runs are treated as an error.
Future work: Maybe we should add additional count categories 'unexpected
skip' and 'unexpected not skipped', rather than counting those as 'skipped'
and 'failed', respectively.
|
|
|
|
|
| |
In all these cases, the test has already been determined as skippable
because it's not part of the 'frameworks' suite.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This moves all the compiler detection logic into the new
compilers.detect module. This dramatically reduces the size
and complexity of Environment.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since 25df6e7d split the iteration over tests to start them from the
iteration to collect their results, the variable 'name' is only being
set in the first iteratiorn, so all tests are treated as being in the
last test category read (probably 'wasm') for skipppable() and in the
XML output.
Store the category name in the TestDef object
Use it in skippable()
Use it in classname attribute of XML test results
|
| |
|
| |
|
|
|
|
|
|
|
| |
Split out checking of file format as a separate GitHub workflow, rather
than running it as part of the project tests for every platform and
toolchain combination in CI, so that this test is not effected by the
changed paths constraints which are applied to the project tests.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Also, increase the minimum ammount of workers from 1 to
2 when the core count can not be determined.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This now gives a clear error rather than silently passes for
unrecognized categories, like:
python run_project_tests.py --only nonexisting
or
python run_project_tests.py --only objc # should be 'objective c'
|
|\
| |
| | |
QT: use a proper dependency factory
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
We don't always have qmake installed (and it's good to test failure
paths too!) so we can't expect this to succeed in all cases. With the
following commit we'll use a test.json to test both pkg-config and
qmake, so we need to be able to skip.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
By default expected line must be matched in order. When an expected line
is matched it does not matter if it's matched again later or not.
When defining "count", it means that line must be matched exactly that
many times before matching the next expected line. Once all occurences
have been matched for an expected line, it not must appear any more in
all next lines.
|
|/ |
|
| |
|
| |
|
|
|
|
| |
performed by running "pyupgrade --py36-plus" and committing the results
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
All changes were created by running
"pyupgrade --py3-only --keep-percent-format"
and committing the results. I have not touched string formatting for
now.
- use set literals
- simplify .format() parameter naming
- remove __future__
- remove default "r" mode for open()
- use OSError rather than compatibility aliases
- remove stray parentheses in function(generator) scopes
|
| |
|