diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2018-10-09 11:37:38 +0200 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2018-10-09 14:00:25 +0200 |
commit | 09d8339b465f3171c4b24ce8b94e43e09d03a176 (patch) | |
tree | 9cece3bdc60733b54121ab0aae6d5e4be92790cd /etc/taskcluster/decision_task.py | |
parent | 62e4f7072b6a2a9245324fead0c78f70c16234ae (diff) | |
download | servo-09d8339b465f3171c4b24ce8b94e43e09d03a176.tar.gz servo-09d8339b465f3171c4b24ce8b94e43e09d03a176.zip |
Code coverage for decisionlib
Diffstat (limited to 'etc/taskcluster/decision_task.py')
-rw-r--r-- | etc/taskcluster/decision_task.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/etc/taskcluster/decision_task.py b/etc/taskcluster/decision_task.py index dd637859eaa..24aa16ac629 100644 --- a/etc/taskcluster/decision_task.py +++ b/etc/taskcluster/decision_task.py @@ -17,6 +17,7 @@ def main(task_for, mock=False): if mock: windows_release() linux_wpt() + linux_build_task("Indexed by task definition").find_or_create() # https://tools.taskcluster.net/hooks/project-servo/daily elif task_for == "daily": @@ -24,7 +25,7 @@ def main(task_for, mock=False): with_rust_nightly() android_arm32() - else: + else: # pragma: no cover raise ValueError("Unrecognized $TASK_FOR value: %r", task_for) @@ -64,8 +65,8 @@ def linux_tidy_unit(): ./mach test-unit ./mach package --dev ./mach test-tidy --no-progress --self-test - python2.7 ./etc/memory_reports_over_time.py --test - python3 ./etc/taskcluster/mock.py + ./etc/memory_reports_over_time.py --test + ./etc/taskcluster/mock.py ./etc/ci/lockfile_changed.sh ./etc/ci/check_no_panic.sh """).create() @@ -294,5 +295,5 @@ CONFIG.docker_images_expire_in = build_dependencies_artifacts_expire_in CONFIG.repacked_msi_files_expire_in = build_dependencies_artifacts_expire_in -if __name__ == "__main__": +if __name__ == "__main__": # pragma: no cover main(task_for=os.environ["TASK_FOR"]) |