tests: Ignore all files in 'data' directories

This commit is contained in:
Daniel Mensinger 2019-06-28 17:02:20 +02:00
parent 71a5ff718a
commit ec0998e694
No known key found for this signature in database
GPG Key ID: 54DD94C131E277D4
1 changed files with 2 additions and 0 deletions

View File

@ -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`