drm_hwcomposer: CI: Add CTS skips file
Android 16 added a new test, GetSupportedRefreshRatesIsDivisorRate, which will fail when CI is updated to Android 16. Add the ability to skip a CTS test and skip this test for now. Signed-off-by: Deborah Brouwer <deborah.brouwer@collabora.com>
This commit is contained in:
parent
1771c8fd66
commit
d1b819b89d
2 changed files with 8 additions and 1 deletions
|
|
@ -17,10 +17,16 @@ INCLUDE_FILE="${CI_PROJECT_DIR}/.ci/android/cts-includes.txt"
|
|||
# shellcheck disable=SC2086 # keep word splitting
|
||||
INCLUDE_FILTERS="$(grep -v -E "(^#|^[[:space:]]*$)" "$INCLUDE_FILE" | sed -e 's/\s*$//g' -e 's/.*/--include-filter "\0" /g')"
|
||||
|
||||
SKIP_FILE="${CI_PROJECT_DIR}/.ci/android/cts-skips.txt"
|
||||
EXCLUDE_FILTERS=""
|
||||
if [ -e "$SKIP_FILE" ]; then
|
||||
EXCLUDE_FILTERS="$(grep -v -E "(^#|^[[:space:]]*$)" "$SKIP_FILE" | sed -e 's/\s*$//g' -e 's/.*/--exclude-filter "\0" /g')"
|
||||
fi
|
||||
|
||||
set +e
|
||||
# shellcheck disable=SC2086 # keep word splitting
|
||||
eval /android-tools/android-cts/tools/cts-tradefed run commandAndExit cts-dev \
|
||||
$INCLUDE_FILTERS --log-level-display ASSERT
|
||||
$INCLUDE_FILTERS $EXCLUDE_FILTERS --log-level-display ASSERT
|
||||
|
||||
cp -r "/android-tools/android-cts/results/latest"/* "${RESULTS_DIR}"
|
||||
cp -r "/android-tools/android-cts/logs/latest"/* "${RESULTS_DIR}"
|
||||
|
|
|
|||
1
.ci/android/cts-skips.txt
Normal file
1
.ci/android/cts-skips.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
x86_64 CtsDisplayTestCases android.display.cts.DisplayTest#testGetSupportedRefreshRatesIsDivisorRate
|
||||
Loading…
Add table
Add a link
Reference in a new issue