From ec0998e694459fe8c2954bb72cc6b0b0959b37c8 Mon Sep 17 00:00:00 2001 From: Daniel Mensinger Date: Fri, 28 Jun 2019 17:02:20 +0200 Subject: [PATCH] tests: Ignore all files in 'data' directories --- run_meson_command_tests.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/run_meson_command_tests.py b/run_meson_command_tests.py index e7eab7289..9dfb62e08 100755 --- a/run_meson_command_tests.py +++ b/run_meson_command_tests.py @@ -142,6 +142,8 @@ class CommandTests(unittest.TestCase): s = p.as_posix() if 'mesonbuild' not in s: continue + if '/data/' in s: + continue have.add(s[s.rfind('mesonbuild'):]) self.assertEqual(have, expect) # Run `meson`