fixed join issue #7

Merged
PeterSurda merged 1 commits from cis-muzahid/buildbot_multibuild:kivy-test into master 2022-02-11 11:40:54 +01:00

View File

@ -171,8 +171,8 @@ def add_child_build_sh_step(build_factory, directory=".buildbot"):
"""
build_factory.addStep(
steps.ShellCommand(
name="build_" + util.Interpolate("%(prop:jobname)s"),
command=["bash", "-c", join(directory, util.Interpolate("%(prop:jobname)s"), "build.sh")],
name=util.Interpolate("build_%(prop:jobname)s"),
command=util.Interpolate("%(kw:directory)s/%(prop:jobname)s/test.sh", directory=directory),
doStepIf=is_build_script_available,
hideStepIf=isnt_build_script_available,
)
@ -185,8 +185,8 @@ def add_child_test_sh_step(build_factory, directory=".buildbot"):
"""
build_factory.addStep(
steps.ShellCommand(
name="test_" + util.Interpolate("%(prop:jobname)s"),
command=["bash", "-c", join(directory, util.Interpolate("%(prop:jobname)s"), "test.sh")],
name= util.Interpolate("test_%(prop:jobname)s"),
command=util.Interpolate("%(kw:directory)s/%(prop:jobname)s/test.sh", directory=directory),
doStepIf=is_test_script_available,
hideStepIf=isnt_test_script_available,
)