summaryrefslogtreecommitdiffstats
path: root/test/pacman/pmenv.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/pacman/pmenv.py')
-rw-r--r--test/pacman/pmenv.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/pacman/pmenv.py b/test/pacman/pmenv.py
index 24437b61..d87193f2 100644
--- a/test/pacman/pmenv.py
+++ b/test/pacman/pmenv.py
@@ -70,5 +70,10 @@ class pmenv(object):
t.run(self.pacman)
tap.diag("==> Checking rules")
- tap.todo = t.expectfailure
+ # When running under meson, we don't emit 'todo' in the plan and instead
+ # handle expected failures in the test() objects. This really should be
+ # fixed in meson:
+ # https://github.com/mesonbuild/meson/issues/2923#issuecomment-614647076
+ tap.todo = (t.expectfailure and
+ not 'RUNNING_UNDER_MESON' in os.environ)
tap.subtest(lambda: t.check(), t.description)