Skip to content
This repository was archived by the owner on Oct 13, 2021. It is now read-only.

Commit e6f4d22

Browse files
authored
[dev] Allow extra args to scripts/run-tox-scenario (#1027)
1 parent 153d004 commit e6f4d22

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/run-tox-scenario

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/usr/bin/env bash
22
set -e
33
PATTERN="$1"
4+
shift
5+
46
# CircleCI has a bug in its workspace code where it can't handle filenames with some chars
57
CLEANED_PATTERN=`echo $PATTERN | tr '^?()$' '_'`
6-
exec tox -l | grep "$PATTERN" | tr '\n' ',' | xargs tox --result-json /tmp/"$CLEANED_PATTERN".results -e
8+
exec tox -l | grep "$PATTERN" | tr '\n' ',' | xargs -I ARGS tox --result-json /tmp/"$CLEANED_PATTERN".results -e ARGS -- $@

0 commit comments

Comments
 (0)