Don’t pretend that update_wpt() doesn’t use debug assertions

It already was, since the key given to `find_or_create()`
did not include `args`.
This commit is contained in:
Simon Sapin 2019-11-18 10:56:47 +01:00
parent 26ca284ec2
commit 1762cba533

View file

@ -579,7 +579,7 @@ def macos_nightly():
def update_wpt(): def update_wpt():
build_task = macos_release_build() build_task = macos_release_build_with_debug_assertions()
update_task = ( update_task = (
macos_task("WPT update") macos_task("WPT update")
.with_python2() .with_python2()
@ -608,13 +608,13 @@ def update_wpt():
) )
def macos_release_build(args="", priority=None): def macos_release_build_with_debug_assertions(priority=None):
return ( return (
macos_build_task("Release build") macos_build_task("Release build")
.with_treeherder("macOS x64", "Release") .with_treeherder("macOS x64", "Release")
.with_priority(priority) .with_priority(priority)
.with_script("\n".join([ .with_script("\n".join([
"./mach build --release --verbose " + args, "./mach build --release --verbose --with-debug-assertions",
"./etc/ci/lockfile_changed.sh", "./etc/ci/lockfile_changed.sh",
"tar -czf target.tar.gz" + "tar -czf target.tar.gz" +
" target/release/servo" + " target/release/servo" +
@ -623,12 +623,12 @@ def macos_release_build(args="", priority=None):
" target/release/build/osmesa-src-*/out/src/mapi/shared-glapi/.libs", " target/release/build/osmesa-src-*/out/src/mapi/shared-glapi/.libs",
])) ]))
.with_artifacts("repo/target.tar.gz") .with_artifacts("repo/target.tar.gz")
.find_or_create("build.macos_x64_release." + CONFIG.task_id()) .find_or_create("build.macos_x64_release_w_assertions." + CONFIG.task_id())
) )
def macos_wpt(): def macos_wpt():
build_task = macos_release_build("--with-debug-assertions", priority="high") build_task = macos_release_build_with_debug_assertions(priority="high")
def macos_run_task(name): def macos_run_task(name):
task = macos_task(name).with_python2() task = macos_task(name).with_python2()
return with_homebrew(task, ["etc/taskcluster/macos/Brewfile-gstreamer"]) return with_homebrew(task, ["etc/taskcluster/macos/Brewfile-gstreamer"])