testing/web-platform/tests/tools/ci/before_install.sh
author Luke Zielinski <44509484+LukeZielinski@users.noreply.github.com>
Tue, 05 Mar 2019 11:09:11 +0000
changeset 464497 2719bb3a5d99ee2430d01cd24dc0d1cfe1e881a2
parent 445695 93738a87755a70f72f527f44aa085d3cb62d7501
child 470783 c68ee1d9e9215df90ca3c808b7cda91b0cbb1ab9
permissions -rwxr-xr-x
Bug 1527331 [wpt PR 15334] - Fix shebangs and executable bits for a bunch of files, a=testonly Automatic update from web-platform-tests Fix shebangs and executable bits for a bunch of files (#15334) Mostly adding missing executable bits or removing unnecessary ones. In a few cases, missing shebangs were added. -- wpt-commits: bac4db35ea82fa0a6ee65e9291c722592e27fb7f wpt-pr: 15334

#!/bin/bash
set -e

if [[ $RUN_JOB -eq 1 ]] || ./wpt test-jobs --includes $JOB; then
    export RUN_JOB=1
    git submodule update --init --recursive 1>&2
    export DISPLAY=:99.0
    sh -e /etc/init.d/xvfb start 1>&2
    # For uploading the manifest
    export WPT_MANIFEST_FILE=$HOME/meta/MANIFEST-$(git rev-parse HEAD).json
else
    export RUN_JOB=0
fi