mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-22 00:06:12 -05:00
When excluding tests, only exclude exact matches
Otherwise eg an entry in the blocklist for PyQgsAnnotation will prevent the PyQgsAnnotationRectTextItem test from running
This commit is contained in:
parent
0c9320c8ad
commit
cd1dcbf8ca
@ -265,10 +265,10 @@ fi
|
||||
###########
|
||||
# Run tests
|
||||
###########
|
||||
EXCLUDE_TESTS=$(cat ${SRCDIR}/.ci/test_blocklist_qt${QT_VERSION}.txt | sed -r '/^(#.*?)?$/d' | paste -sd '|' -)
|
||||
EXCLUDE_TESTS="^$(cat ${SRCDIR}/.ci/test_blocklist_qt${QT_VERSION}.txt | sed -r '/^(#.*?)?$/d' | paste -sd '~' | sed -r 's/~/\$|^/g' -)\$"
|
||||
if ! [[ ${RUN_FLAKY_TESTS} == true ]]; then
|
||||
echo "Flaky tests are skipped!"
|
||||
EXCLUDE_TESTS=${EXCLUDE_TESTS}"|"$(cat ${SRCDIR}/.ci/test_flaky.txt | sed -r '/^(#.*?)?$/d' | paste -sd '|' -)
|
||||
EXCLUDE_TESTS=${EXCLUDE_TESTS}"|^"$(cat ${SRCDIR}/.ci/test_flaky.txt | sed -r '/^(#.*?)?$/d' | paste -sd '~' | sed -r 's/~/\$|^/g' -)"$"
|
||||
else
|
||||
echo "Flaky tests are run!"
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user