File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 1919# It can be set through the env variable PL_STANDALONE_TESTS_BATCH_SIZE and defaults to 6 if not set
2020test_batch_size=" ${PL_STANDALONE_TESTS_BATCH_SIZE:- 6} "
2121source=" ${PL_STANDALONE_TESTS_SOURCE:- " lightning" } "
22+ COLLECTED_TESTS_FILE=" collected_tests.txt"
2223
2324# this environment variable allows special tests to run
2425export PL_RUN_STANDALONE_TESTS=1
@@ -28,7 +29,7 @@ echo "Using defaults: ${defaults}"
2829
2930# get the list of parametrizations. we need to call them separately. the last two lines are removed.
3031# note: if there's a syntax error, this will fail with some garbled output
31- python3 -um pytest -q --collect-only --pythonwarnings ignore 2>&1 > " $COLLECTED_TESTS_FILE "
32+ python3 -um pytest -q --collect-only --pythonwarnings ignore 2>&1 > $COLLECTED_TESTS_FILE
3233# early terminate if collection failed (e.g. syntax error)
3334if [[ $? != 0 ]]; then
3435 cat $COLLECTED_TESTS_FILE
You can’t perform that action at this time.
0 commit comments