aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/backend/backends.py
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2020-05-23 19:32:40 +0100
committerJon Turney <jon.turney@dronecode.org.uk>2020-09-20 12:57:50 +0100
commit194dcdef03e4c562c458fddc64b9162100fc036c (patch)
tree3882a71a71d494eec050076d4d8042464356fc09 /mesonbuild/backend/backends.py
parentc72625c2a74b198721c6e1f0cb0b653a4cd9addc (diff)
downloadmeson-194dcdef03e4c562c458fddc64b9162100fc036c.zip
meson-194dcdef03e4c562c458fddc64b9162100fc036c.tar.gz
meson-194dcdef03e4c562c458fddc64b9162100fc036c.tar.bz2
Make meson_exe report pickled command when it fails
Make 'meson --internal exe --unpickle' report the actual command executed when it fails, which is otherwise invisible.
Diffstat (limited to 'mesonbuild/backend/backends.py')
-rw-r--r--mesonbuild/backend/backends.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mesonbuild/backend/backends.py b/mesonbuild/backend/backends.py
index 156f3bd..35e4751 100644
--- a/mesonbuild/backend/backends.py
+++ b/mesonbuild/backend/backends.py
@@ -114,6 +114,7 @@ class ExecutableSerialisation:
self.workdir = workdir
self.extra_paths = extra_paths
self.capture = capture
+ self.pickled = False
class TestSerialisation:
def __init__(self, name: str, project: str, suite: str, fname: T.List[str],