Skip to content

Commit 2e630f0

Browse files
Update ci_tools_unittest.sh
1 parent b6f4c89 commit 2e630f0

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

tools/ci/ci_tools_unittest.sh

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,6 @@ SCRIPT_DIR=$(cd $(dirname "$0") && pwd -P)
55
WPT_ROOT=$SCRIPT_DIR/../..
66
cd $WPT_ROOT
77

8-
run_applicable_tox () {
9-
# instead of just running TOXENV (e.g., py38)
10-
# run all environments that start with TOXENV
11-
# (e.g., py38-firefox as well as py38)
12-
local OLD_TOXENV="$TOXENV"
13-
unset TOXENV
14-
local RUN_ENVS=$(tox -l | grep "^${OLD_TOXENV}\(\-\|\$\)" | tr "\n" ",")
15-
if [[ -n "$RUN_ENVS" ]]; then
16-
tox -e "$RUN_ENVS"
17-
fi
18-
export TOXENV="$OLD_TOXENV"
19-
}
20-
218
if ./wpt test-jobs --all --includes tools_unittest; then
229
pip install --user -U tox
2310
cd tools

0 commit comments

Comments
 (0)