Revision 6d430e9d2dbc770f66c40e944928f5ec4f6cbccb authored by Henrik Skupin on 15 August 2018, 17:44:30 UTC, committed by jgraham on 17 August 2018, 09:47:16 UTC
Those tests make sure that an "invalid argument" error is raised
if the body doesn't contain any data.

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1469601
gecko-commit: 7915b80eca091d53838f20594e84ed543b1752f3
gecko-integration-branch: mozilla-inbound
gecko-reviewers: ato
1 parent e27c34b
Raw File
ci_resources_unittest.sh
#!/bin/bash
set -ex

SCRIPT_DIR=$(dirname $(readlink -f "$0"))
WPT_ROOT=$(readlink -f $SCRIPT_DIR/../..)
cd $WPT_ROOT

source tools/ci/lib.sh

main() {
    hosts_fixup

    cd $WPT_ROOT
    pip install -U tox
    ./wpt install firefox browser --destination $HOME
    ./wpt install firefox webdriver --destination $HOME/firefox
    export PATH=$HOME/firefox:$PATH

    cd $WPT_ROOT/resources/test
    tox -- --binary=$HOME/browsers/firefox/firefox
}

main
back to top