aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2021-07-26Split run_unittests.py fileXavier Claessens20-10209/+10737
2021-07-26coredata: throw a MesonException on unknown optionsFlorian Schmaus3-13/+17
Fixes #7288.
2021-07-25ast: Add dummy "support" for fstrings in the ast packageDaniel Mensinger5-0/+17
2021-07-25Remove workaround now that we have a new Ninja.Jussi Pakkanen1-7/+0
2021-07-25Added release snippetmiebka1-0/+3
2021-07-25C2000 compiler also accepts *.cla filesmiebka1-2/+4
2021-07-23Add support for gcovr --sonarqube reportWeston Schmidt5-0/+25
Sonarcloud.io only can read the sonarqube based report that gcovr can produce. This change enables support for this output in meson and ninja. Signed-off-by: Weston Schmidt <Weston_Schmidt@alumni.purdue.edu>
2021-07-23Merge pull request #9005 from jon-turney/xskip-ci-2Jussi Pakkanen38-32/+100
Add expected skip annotations for non-linux CI runs to framework tests
2021-07-23qt: Allow CustomTargets for qt.preprocess source argumentsDylan Baker2-15/+15
This works for `moc_*` and `ui_files`, but it never could have worked for `qresources` due to the implementation assuming a `str` or `File`. To restore previous compatibility I've added `CustomTarget` where it would have worked, but not where it would have failed, the former would raised an exception along the lines anyway. Fixes #9007
2021-07-22Merge pull request #8992 from dcbaker/submit/modernize-python-module-dependencyJussi Pakkanen15-369/+272
Cleanup the python module
2021-07-21Merge pull request #8994 from SoapGentoo/cuda-fixesJussi Pakkanen5-17/+49
Cuda fixes
2021-07-21Delete extra data dirs that cause problems for WiX.Jussi Pakkanen1-0/+9
2021-07-21Merge pull request #9011 from xclaesse/meson-version-compareJussi Pakkanen6-4/+14
Regression: Fix version check for MesonMain methods
2021-07-21msubprojects: catch exceptions and continue with othersXavier Claessens1-1/+5
If the command fails for one subproject we should still continue with others. Failed subprojects are reported at the end. This issue became more problematic when doing parallel tasks because the reason the command fails was completely hidden by other parallel tasks.
2021-07-21Fix meson.version().version_compare() regression in subprojectXavier Claessens6-4/+14
2021-07-18Cuda: Add test for shared versioned internal libsDavid Seifert1-1/+3
2021-07-18Cuda: Fix linking with shared versioned internal libsDavid Seifert1-2/+6
2021-07-18Cuda: Enable PGODavid Seifert1-0/+6
2021-07-18Cuda: Add test for -isystem/usr/includeDavid Seifert1-2/+8
2021-07-18Cuda: Filter -isystem with system pathsDavid Seifert1-12/+19
2021-07-18Cuda: Add test for -DNDEBUGDavid Seifert2-1/+5
2021-07-18Cuda: Pass -DNDEBUG throughDavid Seifert1-0/+3
2021-07-18Merge pull request #8953 from dcbaker/submit/interpreter-easy-typingJussi Pakkanen2-104/+74
Do some of the easy type checking of in the interpreter
2021-07-18gnome: Always pass absolute -L paths to g-ir-scannerNirbheek Chauhan1-2/+6
g-ir-scanner does not convert relative -L paths to runtime paths which are added to -Wl,-rpath and LD_LIBRARY_PATH / DYLD_LIBRARY_PATH / PATH. This means that the local library will either not be found at runtime (while building introspection data), or the system-wide library will be picked instead. See: giscanner/ccompiler.py:get_internal_link_flags() in gobject-introspection for more details.
2021-07-18Bump version number for new development.Jussi Pakkanen1-1/+1
2021-07-18Merge pull request #8972 from bonzini/C-symlinkJussi Pakkanen7-15/+39
resolve symlinks passed to -C
2021-07-18Merge pull request #8996 from bonzini/fix8746Jussi Pakkanen6-41/+23
Do not add SONAME to shared modules
2021-07-18Set up the 0.59.0 release.0.59.0Jussi Pakkanen20-212/+237
2021-07-17Update linkers.pyIan Harvey1-0/+6
Add /subsystem:xxx to xilink command line, either as specified in the build settings or as "console" by default.
2021-07-15Condense test directory names for next release.Jussi Pakkanen186-77/+77
2021-07-14linkers: remove is_shared_module argument to get_soname_argsPaolo Bonzini6-36/+19
The argument is now unused, drop it.
2021-07-14do not add SONAME to shared modulesPaolo Bonzini2-7/+6
For an ELF targets, shared_module() builds a module with SONAME field (using -Wl,-soname argument). This is wrong: only the shared_library() needs SONAME, while shared_module() does not. Moreover, tools such as debian's dpkg-shlibdeps use presence of SONAME field as an indicator that this is shared library as opposed to shared module (e.g., for the module it is okay to have unresolved symbols which are imported from the executable which loads the module, while a library should have all symbols resolved). This was in fact already the behavior on Darwin; extend it to ELF targets as well. Fixes: #8746 Reported-by: Michael Tokarev <mjt@tls.msk.ru> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2021-07-14coverage: disable the concept of "CI failures"Eli Schwartz1-0/+8
code coverage may be interesting to some people as an informational update, but it's really fragile and sometimes obscure, and overall we would really like to NOT have most PRs reporting a red X in the CI overview, when all project/unittests succeeded but codecov decides that by some inscrutbale metric, coverage by % has dropped. Elegant refactorings are penalized, because removing lines of code or rewriting them to be more compact, means the overall percentage of covered code is "less", even though no uncovered code got added. Even worse, the coverage reports often erroneously complain that a PR has "added lines #L<num> - L<num> were not covered by tests" even though github helpfully points out they are "Unchanged files with check annotations". Or more generally, codecov claims that coverage has dropped in code which the PR can't touch. The whole thing is just too much of a source of trouble. So, configure codecov to consider all PRs as successful no matter what. It is still welcome to leave informational comments, though.
2021-07-13modules/python: fix up a few simply typing warnings/errorsDylan Baker1-8/+24
These were spotted by mypy and pyright. One is a string where a Path is expected, another other is a possibly unbound variable, and the third is bound but unused variables.
2021-07-13dependencies: drop Dependency.methods and Dependency.get_methods()Dylan Baker10-121/+5
Both of these are artifacts of the time before Dependency Factories, when a dependency that could be discovered multiple ways did ugly stuff like finding a specific dependency, then replacing it's own attributes with that dependency's attributes. We don't have cases of that left in the tree, so let's get rid of this code too
2021-07-13modules/python: Allow trying a macos framework as well other methodsDylan Baker1-2/+18
2021-07-13modules/python: make some internal helpers protectedDylan Baker1-4/+4
2021-07-13modules/pkgconfig: remove handling of .pcdepDylan Baker2-29/+1
Nothing uses this anymore, so don't check for it.
2021-07-13modules/python: use factory for dependencyDylan Baker1-90/+83
This removes the odd 'pkgdep' attribute thing, and makes it behave more like a proper dependency
2021-07-13modules/python: simplify a number of interfacesDylan Baker2-36/+33
Including not calling back into `Interpreter.func_*`, which is not a good idea both from a type saftey and perforamance point of view. Instead there's now a shared _impl method
2021-07-13modules/python: use typed_pos_argsDylan Baker1-10/+15
And note that the way that find_installation works is completely broken in regards to machine files
2021-07-13modules/python: Add type annotationsDylan Baker2-80/+99
There's still a number of things that don't properly type check, that's expected though as the input is often unvalidated and assumed good.
2021-07-13modules/python: sort importsDylan Baker1-8/+9
2021-07-13Clang: Apply `-O0`Pamplemousse1-1/+1
Fix #8986
2021-07-13Make it an error if MESON_CI_JOBNAME isn't set under CIJon Turney1-6/+3
Also check skip is as expected for CI all runs, not just those that set MESON_CI_JOBNAME.
2021-07-13Add expected skip annotations for non-linux CI runs to framework testsJon Turney31-24/+73
2021-07-13Set MESON_CI_JOBNAME for all CI jobsJon Turney6-1/+23
Set MESON_CI_JOBNAME for all CI jobs which run project tests. (Note that ${{ github.job }} is the literal job.id used in the yaml, not any name given to the job with job.id.name, and so is the same for all matrix entries, and thus not suitable for our purposes there).
2021-07-13Fix skip condition in sdl2 test.jsonJon Turney1-1/+1
The build_machine.system() value we should be matching against is 'darwin', not 'macos', so this was expected to skip everywhere. Unfortunately, fixing this reveals that this test skips in our macos CI runs also, (I think) because brew doesn't (normally) provide frameworks, just pkgconfig files. So, also skip this test there, which means it doesn't run anywhere in CI currently.
2021-07-13run_unittests: add test for passing symlinks to setup and testPaolo Bonzini1-0/+12
2021-07-12azure: propagate run_tests.py exit codeJon Turney1-0/+4
Propagate the run_tests.py exit code, rather than overwriting it with the codecov exit code.