Tests: Amend the comment for TESTED_FILES
Arguably, this is easier.
This commit is contained in:
parent
c746b25f28
commit
230ce7f061
@ -12,12 +12,8 @@ XY = f'{sys.version_info[0]}{sys.version_info[1]}'
|
|||||||
# Handy environment variable you can use to run the tests
|
# Handy environment variable you can use to run the tests
|
||||||
# with modified macros files. Multiple files should be
|
# with modified macros files. Multiple files should be
|
||||||
# separated by colon.
|
# separated by colon.
|
||||||
# To get 'em all, run:
|
# You can use * if you escape it from your Shell:
|
||||||
# ls -1 macros.* | tr "\n" ":"
|
# TESTED_FILES='macros.*' pytest -v
|
||||||
# and then:
|
|
||||||
# TESTED_FILES="<output of previous command>" pytest -v
|
|
||||||
# or both combined:
|
|
||||||
# TESTED_FILES=$(ls -1 macros.* | tr "\n" ":") pytest -v
|
|
||||||
# Remember that some tests might need more macros files than just
|
# Remember that some tests might need more macros files than just
|
||||||
# the local ones.
|
# the local ones.
|
||||||
TESTED_FILES = os.getenv("TESTED_FILES", None)
|
TESTED_FILES = os.getenv("TESTED_FILES", None)
|
||||||
|
Loading…
Reference in New Issue
Block a user