diff options
-rw-r--r-- | etc/ci/buildbot_steps.yml | 2 | ||||
-rw-r--r-- | etc/ci/mutation_test.py | 15 | ||||
-rwxr-xr-x | etc/ci/mutation_test.sh | 12 |
3 files changed, 13 insertions, 16 deletions
diff --git a/etc/ci/buildbot_steps.yml b/etc/ci/buildbot_steps.yml index a25235c503f..8da9728ccd6 100644 --- a/etc/ci/buildbot_steps.yml +++ b/etc/ci/buildbot_steps.yml @@ -68,7 +68,7 @@ linux-rel-nogate: - ./mach clean-nightlies --keep 3 --force - ./mach build --release - python ./etc/ci/chaos_monkey_test.py - - python ./etc/ci/mutation_test.py + - bash ./etc/ci/mutation_test.sh mac-rel-intermittent: - ./mach clean-nightlies --keep 3 --force diff --git a/etc/ci/mutation_test.py b/etc/ci/mutation_test.py deleted file mode 100644 index e2957499b8a..00000000000 --- a/etc/ci/mutation_test.py +++ /dev/null @@ -1,15 +0,0 @@ -# Copyright 2013 The Servo Project Developers. See the COPYRIGHT -# file at the top-level directory of this distribution. -# -# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or -# http://www.apache.org/licenses/LICENSE-2.0> or the MIT license -# <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your -# option. This file may not be copied, modified, or distributed -# except according to those terms. - -import subprocess -import sys - -mutation_path = 'components/script/dom' -status = subprocess.call('python python/servo/mutation/init.py %s' % mutation_path, shell=True) -sys.exit(status) diff --git a/etc/ci/mutation_test.sh b/etc/ci/mutation_test.sh new file mode 100755 index 00000000000..a501b408796 --- /dev/null +++ b/etc/ci/mutation_test.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env bash + +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + +set -o errexit +set -o nounset +set -o pipefail + +source python/_virtualenv/bin/activate +python python/servo/mutation/init.py components/script/dom |