bstinson / rpms / mozjs60

Forked from rpms/mozjs60 5 years ago
Clone

Blame SOURCES/emitter_test.patch

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