summaryrefslogtreecommitdiffstats
path: root/source/l/mozjs60/patches/emitter_test.patch
blob: dad8ddc1425363eda6b44805fc7447490c8454a6 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- 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')