meson/mesonbuild
Eli Schwartz c85f7a39a8 mtest: raise informative error message when test program doesn't exist
If --no-rebuild is used, the test program might not exist, spawning a
FileNotFoundError inside a long traceback rooted in subprocess.Popen
trying to run that test program. Current versions of Meson even say it's
an "unhandled python exception".

But we can do one better and actually tell the user what is wrong, why,
and what to do to fix it. And we can do so before getting waist deep in
partially running tests.

Fixes #10006
2022-02-20 14:21:31 +02:00
..
ast add install_symlink function 2021-12-01 13:59:54 -05:00
backend flake8: fix various whitespace errors with badly aligned code 2022-02-16 23:00:31 -05:00
cmake flake8: fix wrong numbers of blank line separators 2022-02-16 18:19:13 -05:00
compilers flake8: fix various whitespace errors with badly aligned code 2022-02-16 23:00:31 -05:00
dependencies intl dependency: include header when checking for libc builtin 2022-02-17 14:48:27 -05:00
interpreter flake8: fix various whitespace errors with badly aligned code 2022-02-16 23:00:31 -05:00
interpreterbase flake8: use plain strings instead of f-strings when no variables used 2022-02-16 18:19:12 -05:00
linkers Genericise TI compiler and add MSP430 support 2022-02-02 16:45:05 +02:00
mesonlib flake8: use plain strings instead of f-strings when no variables used 2022-02-16 18:19:12 -05:00
modules flake8: fix various whitespace errors with badly aligned code 2022-02-16 23:00:31 -05:00
scripts Merge pull request #9742 from ximion/wip/itstool 2022-01-22 01:01:29 +02:00
templates flake8: fix indentation style 2022-01-27 10:48:01 -08:00
wrap flake8: do not use bare exceptions 2022-02-16 23:00:31 -05:00
__init__.py Renamed meson package to mesonbuild so that we can have a script named meson in the same toplevel dir. 2016-01-16 17:35:29 +02:00
_pathlib.py pathlib: Patch pathlib to work around some bugs (fixes #7295) 2021-06-29 11:28:08 +02:00
_typing.py fix various flake8 whitespace errors 2021-10-27 09:51:52 -04:00
arglist.py Fix typos discovered by codespell 2021-10-10 16:12:25 -04:00
build.py flake8: fix various whitespace errors with badly aligned code 2022-02-16 23:00:31 -05:00
coredata.py meson: Allow directory options outside of prefix 2022-02-09 11:04:59 -05:00
depfile.py depfile: type annotate 2022-01-10 23:06:20 -05:00
envconfig.py Genericise TI compiler and add MSP430 support 2022-02-02 16:45:05 +02:00
environment.py coverage generator: obey the documentation and only generate supported outputs 2021-11-01 18:57:14 -04:00
mcompile.py mcompile: fix broken codepaths and restore orphaned code 2022-01-26 14:49:38 -05:00
mconf.py fix various flake8 whitespace errors 2021-10-27 09:51:52 -04:00
mdevenv.py Add --vsenv command line option and active VS only when needed 2021-10-10 23:15:18 +03:00
mdist.py implement 'dist --allow-dirty' flag 2022-02-10 21:23:20 -05:00
mesondata.py port from embedded data to importlib.resources 2022-01-10 18:36:57 -05:00
mesonmain.py fine-tune the logic for reporting context on tracebacks 2022-02-15 23:51:46 -05:00
minit.py Add vala template 2021-11-16 22:25:14 -05:00
minstall.py fix missing f-string preventing variable formatting 2022-02-16 18:19:13 -05:00
mintro.py introspect: include choices for array options 2021-10-14 09:04:25 -04:00
mlog.py fix type annotations for mlog nesting 2021-12-30 15:15:25 -05:00
mparser.py fix malformed warning to print the way it was meant to print 2022-02-16 23:00:28 -05:00
msetup.py Add --vsenv command line option and active VS only when needed 2021-10-10 23:15:18 +03:00
msubprojects.py flake8: remove some redundant separators 2022-02-16 18:19:13 -05:00
mtest.py mtest: raise informative error message when test program doesn't exist 2022-02-20 14:21:31 +02:00
munstable_coredata.py fix coding errors in unstable-coredata subcommand 2021-08-22 13:56:41 +03:00
optinterpreter.py FeatureNew: add mypy type annotations for subproject arg 2022-02-14 20:40:41 -05:00
programs.py interpreter: use typed_kwargs for run_command 2021-11-29 18:12:33 -08:00
rewriter.py rewriter: create {add,rm}_extra_files commands 2021-12-15 21:21:29 +01:00