Index: test/lib/TestGyp.py |
diff --git a/test/lib/TestGyp.py b/test/lib/TestGyp.py |
index 930db7556c78ff4427834672e8bf591476100285..bd9b9eae760b900b235ab7033d2e52b8e18be0b9 100644 |
--- a/test/lib/TestGyp.py |
+++ b/test/lib/TestGyp.py |
@@ -155,6 +155,13 @@ class TestGypBase(TestCommon.TestCommon): |
""" |
return self.must_not_match(self.built_file_path(name, **kw), contents) |
+ def built_file_must_not_contain(self, name, contents, **kw): |
+ """ |
+ Fails the test if the specified built file name contains the specified |
+ contents. |
+ """ |
+ return self.must_not_contain(self.built_file_path(name, **kw), contents) |
+ |
def copy_test_configuration(self, source_dir, dest_dir): |
""" |
Copies the test configuration from the specified source_dir |