MCPcopy Create free account
hub / github.com/ceph/ceph / bc_run_tests

Function bc_run_tests

src/script/build-with-container.py:878–891  ·  view source on GitHub ↗

Execute the tests.

(ctx)

Source from the content-addressed store, hash-verified

876
877@Builder.set(Steps.TESTS)
878def bc_run_tests(ctx):
879 """Execute the tests."""
880 ctx.build.wants(Steps.NPM_CACHE, ctx)
881 ctx.build.wants(Steps.BUILD_TESTS, ctx)
882 cmd = _container_cmd(
883 ctx,
884 [
885 "bash",
886 "-c",
887 f"cd {ctx.cli.homedir} && source ./run-make-check.sh && build tests && run",
888 ],
889 )
890 with ctx.user_command():
891 _run(cmd, check=True, ctx=ctx)
892
893
894@Builder.set(Steps.SOURCE_RPM)

Callers

nothing calls this directly

Calls 4

_container_cmdFunction · 0.85
wantsMethod · 0.80
user_commandMethod · 0.80
_runFunction · 0.70

Tested by

no test coverage detected