summaryrefslogtreecommitdiffstats
path: root/source/l/mozjs60/patches/emitter_test.patch
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/mozjs60/patches/emitter_test.patch')
-rw-r--r--source/l/mozjs60/patches/emitter_test.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/source/l/mozjs60/patches/emitter_test.patch b/source/l/mozjs60/patches/emitter_test.patch
new file mode 100644
index 000000000..dad8ddc14
--- /dev/null
+++ b/source/l/mozjs60/patches/emitter_test.patch
@@ -0,0 +1,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')
+