MCPcopy Create free account
hub / github.com/boostorg/build / fail_test

Method fail_test

v2/test/TestCmd.py:300–308  ·  view source on GitHub ↗

Cause the test to fail.

(self, condition=True, function=None, skip=0)

Source from the content-addressed store, hash-verified

298 self.description = description
299
300 def fail_test(self, condition=True, function=None, skip=0):
301 """Cause the test to fail."""
302 if not condition:
303 return
304 self.condition = 'fail_test'
305 fail_test(self = self,
306 condition = condition,
307 function = function,
308 skip = skip)
309
310 def match(self, lines, matches):
311 """Compare actual and expected file contents."""

Callers 15

collectDebugInfoFunction · 0.45
copy_time.pyFile · 0.45
build_dir.pyFile · 0.45
default_build.pyFile · 0.45
notfile.pyFile · 0.45
library_order.pyFile · 0.45
__assertionFailureMethod · 0.45
core_modifiers.pyFile · 0.45
inherit_toolset.pyFile · 0.45
example_gettext.pyFile · 0.45

Calls 1

fail_testFunction · 0.85

Tested by

no test coverage detected