slackware-current/source/l/mozjs60/patches/emitter_test.patch
Patrick J Volkerding e37e24f7e5 Wed Dec 11 21:03:27 UTC 2019
ap/mariadb-10.4.11-x86_64-1.txz:  Upgraded.
d/cmake-3.16.1-x86_64-1.txz:  Upgraded.
d/git-2.24.1-x86_64-1.txz:  Upgraded.
l/mozjs52-52.9.0esr-x86_64-2.txz:  Removed.
  This was used only by polkit-0.115.
l/mozjs60-60.9.0esr-x86_64-1.txz:  Added.
  This is needed for polkit-0.116.
l/polkit-0.116-x86_64-1.txz:  Upgraded.
n/ModemManager-1.12.2-x86_64-1.txz:  Upgraded.
xap/xine-ui-0.99.12-x86_64-1.txz:  Upgraded.
2019-12-12 08:59:50 +01:00

26 lines
1,001 B
Diff

--- a/python/mozbuild/mozbuild/test/frontend/test_emitter.py
+++ b/python/mozbuild/mozbuild/test/frontend/test_emitter.py
@@ -999,22 +999,6 @@
self.assertEqual(local_includes, expected)
- def test_local_includes_invalid(self):
- """Test that invalid LOCAL_INCLUDES are properly detected."""
- reader = self.reader('local_includes-invalid/srcdir')
-
- with self.assertRaisesRegexp(
- SandboxValidationError,
- 'Path specified in LOCAL_INCLUDES is not allowed:'):
- objs = self.read_topsrcdir(reader)
-
- reader = self.reader('local_includes-invalid/objdir')
-
- with self.assertRaisesRegexp(
- SandboxValidationError,
- 'Path specified in LOCAL_INCLUDES is not allowed:'):
- objs = self.read_topsrcdir(reader)
-
def test_generated_includes(self):
"""Test that GENERATED_INCLUDES is emitted correctly."""
reader = self.reader('generated_includes')