bstinson / rpms / mozjs60

Forked from rpms/mozjs60 5 years ago
Clone

Blame SOURCES/emitter_test.patch

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