diff options
author | Matthias Klumpp <matthias@tenstral.net> | 2018-02-17 23:20:26 +0100 |
---|---|---|
committer | Matthias Klumpp <matthias@tenstral.net> | 2018-02-17 23:20:26 +0100 |
commit | a64a237d7214404bcd2894168bddde13126af5c0 (patch) | |
tree | 8301484c9fa266e7bb8310c549b25de5413a5ab8 /mesonbuild/interpreter.py | |
parent | b57b82eaf9fe22769eb18c09a093ea7578949dc8 (diff) | |
download | meson-a64a237d7214404bcd2894168bddde13126af5c0.zip meson-a64a237d7214404bcd2894168bddde13126af5c0.tar.gz meson-a64a237d7214404bcd2894168bddde13126af5c0.tar.bz2 |
Don't mention "error" in error messages
Starting with VS 2017 if the output of any command run by VS contains
the word Error it will interpret that as a fatal error, even if the exit
error code is zero.
This messes up the unit tests on VS 2017, because we sometimes want to
deliberately ignore error messages.
Change "Error" to "Problem" to mitigate this issue until a more
permanent solution is found.
Diffstat (limited to 'mesonbuild/interpreter.py')
-rw-r--r-- | mesonbuild/interpreter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/interpreter.py b/mesonbuild/interpreter.py index 9b1b45c..524df73 100644 --- a/mesonbuild/interpreter.py +++ b/mesonbuild/interpreter.py @@ -1963,7 +1963,7 @@ to directly access options of other subprojects.''') @noKwargs def func_error(self, node, args, kwargs): self.validate_arguments(args, 1, [str]) - raise InterpreterException('Error encountered: ' + args[0]) + raise InterpreterException('Problem encountered: ' + args[0]) def detect_compilers(self, lang, need_cross_compiler): cross_comp = None |