summaryrefslogtreecommitdiffstats
path: root/source/l/mozjs68/patches/emitter_test.patch
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/l/mozjs68/patches/emitter_test.patch (renamed from source/l/mozjs60/patches/emitter_test.patch)15
1 files changed, 8 insertions, 7 deletions
diff --git a/source/l/mozjs60/patches/emitter_test.patch b/source/l/mozjs68/patches/emitter_test.patch
index dad8ddc14..59366d360 100644
--- a/source/l/mozjs60/patches/emitter_test.patch
+++ b/source/l/mozjs68/patches/emitter_test.patch
@@ -1,6 +1,6 @@
--- a/python/mozbuild/mozbuild/test/frontend/test_emitter.py
+++ b/python/mozbuild/mozbuild/test/frontend/test_emitter.py
-@@ -999,22 +999,6 @@
+@@ -1051,24 +1051,6 @@
self.assertEqual(local_includes, expected)
@@ -10,17 +10,18 @@
-
- with self.assertRaisesRegexp(
- SandboxValidationError,
-- 'Path specified in LOCAL_INCLUDES is not allowed:'):
+- 'Path specified in LOCAL_INCLUDES.*resolves to the '
+- 'topsrcdir or topobjdir'):
- objs = self.read_topsrcdir(reader)
-
- reader = self.reader('local_includes-invalid/objdir')
-
- with self.assertRaisesRegexp(
- SandboxValidationError,
-- 'Path specified in LOCAL_INCLUDES is not allowed:'):
+- 'Path specified in LOCAL_INCLUDES.*resolves to the '
+- 'topsrcdir or topobjdir'):
- objs = self.read_topsrcdir(reader)
-
- def test_generated_includes(self):
- """Test that GENERATED_INCLUDES is emitted correctly."""
- reader = self.reader('generated_includes')
-
+ def test_local_includes_file(self):
+ """Test that a filename can't be used in LOCAL_INCLUDES."""
+ reader = self.reader('local_includes-filename')