diff options
author | Emma Anholt <emma@anholt.net> | 2021-10-25 10:27:10 -0700 |
---|---|---|
committer | Eric Engestrom <eric@engestrom.ch> | 2021-11-10 21:57:57 +0000 |
commit | a8c77451097c6d68f543dd3ada312f6d6dc2f48e (patch) | |
tree | b028cefded2449f1fc57b79eff51149de1f094e3 /.gitlab-ci | |
parent | c8b1a34dafba47baf2dd2794878a34e5b669bb3b (diff) | |
download | mesa-a8c77451097c6d68f543dd3ada312f6d6dc2f48e.tar.gz |
ci/deqp-runner: Rename the deqp-drivername-*.txt files to drivername-*.txt
We have two testsuites with the same format for fails/flakes/skips files,
and test names that are definitely unique. As I'm about to add a third
testsuite (gtest for libva-utils), so let's have just one file each for
fails/flakes/skips instead of one per type of testsuite. This starts the
move with just the bulk rename of deqp.
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Acked-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Acked-by: Daniel Stone <daniels@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13517>
(cherry picked from commit 38dff02bfb1f237ded1e2075e560ec06b52fadcf)
Diffstat (limited to '.gitlab-ci')
-rw-r--r-- | .gitlab-ci/all-skips.txt (renamed from .gitlab-ci/deqp-all-skips.txt) | 0 | ||||
-rwxr-xr-x | .gitlab-ci/deqp-runner.sh | 34 | ||||
-rwxr-xr-x | .gitlab-ci/prepare-artifacts.sh | 2 |
3 files changed, 18 insertions, 18 deletions
diff --git a/.gitlab-ci/deqp-all-skips.txt b/.gitlab-ci/all-skips.txt index 031aff8167c..031aff8167c 100644 --- a/.gitlab-ci/deqp-all-skips.txt +++ b/.gitlab-ci/all-skips.txt diff --git a/.gitlab-ci/deqp-runner.sh b/.gitlab-ci/deqp-runner.sh index 983ca54d51f..ea1b8156430 100755 --- a/.gitlab-ci/deqp-runner.sh +++ b/.gitlab-ci/deqp-runner.sh @@ -3,7 +3,7 @@ set -ex if [ -z "$GPU_VERSION" ]; then - echo 'GPU_VERSION must be set to something like "llvmpipe" or "freedreno-a630" (the name used in .gitlab-ci/deqp-gpu-version-*.txt)' + echo 'GPU_VERSION must be set to something like "llvmpipe" or "freedreno-a630" (the name used in .gitlab-ci/gpu-version-*.txt)' exit 1 fi @@ -85,28 +85,28 @@ if [ -z "$DEQP_SUITE" ]; then fi fi -if [ -e "$INSTALL/deqp-$GPU_VERSION-fails.txt" ]; then - DEQP_RUNNER_OPTIONS="$DEQP_RUNNER_OPTIONS --baseline $INSTALL/deqp-$GPU_VERSION-fails.txt" +if [ -e "$INSTALL/$GPU_VERSION-fails.txt" ]; then + DEQP_RUNNER_OPTIONS="$DEQP_RUNNER_OPTIONS --baseline $INSTALL/$GPU_VERSION-fails.txt" fi # Default to an empty known flakes file if it doesn't exist. -touch $INSTALL/deqp-$GPU_VERSION-flakes.txt +touch $INSTALL/$GPU_VERSION-flakes.txt -if [ -n "$VK_DRIVER" ] && [ -e "$INSTALL/deqp-$VK_DRIVER-skips.txt" ]; then - DEQP_SKIPS="$DEQP_SKIPS $INSTALL/deqp-$VK_DRIVER-skips.txt" +if [ -n "$VK_DRIVER" ] && [ -e "$INSTALL/$VK_DRIVER-skips.txt" ]; then + DEQP_SKIPS="$DEQP_SKIPS $INSTALL/$VK_DRIVER-skips.txt" fi -if [ -n "$GALLIUM_DRIVER" ] && [ -e "$INSTALL/deqp-$GALLIUM_DRIVER-skips.txt" ]; then - DEQP_SKIPS="$DEQP_SKIPS $INSTALL/deqp-$GALLIUM_DRIVER-skips.txt" +if [ -n "$GALLIUM_DRIVER" ] && [ -e "$INSTALL/$GALLIUM_DRIVER-skips.txt" ]; then + DEQP_SKIPS="$DEQP_SKIPS $INSTALL/$GALLIUM_DRIVER-skips.txt" fi -if [ -n "$DRIVER_NAME" ] && [ -e "$INSTALL/deqp-$DRIVER_NAME-skips.txt" ]; then - DEQP_SKIPS="$DEQP_SKIPS $INSTALL/deqp-$DRIVER_NAME-skips.txt" +if [ -n "$DRIVER_NAME" ] && [ -e "$INSTALL/$DRIVER_NAME-skips.txt" ]; then + DEQP_SKIPS="$DEQP_SKIPS $INSTALL/$DRIVER_NAME-skips.txt" fi -if [ -e "$INSTALL/deqp-$GPU_VERSION-skips.txt" ]; then - DEQP_SKIPS="$DEQP_SKIPS $INSTALL/deqp-$GPU_VERSION-skips.txt" +if [ -e "$INSTALL/$GPU_VERSION-skips.txt" ]; then + DEQP_SKIPS="$DEQP_SKIPS $INSTALL/$GPU_VERSION-skips.txt" fi set +e @@ -152,8 +152,8 @@ if [ -z "$DEQP_SUITE" ]; then --deqp $DEQP \ --output $RESULTS \ --caselist /tmp/case-list.txt \ - --skips $INSTALL/deqp-all-skips.txt $DEQP_SKIPS \ - --flakes $INSTALL/deqp-$GPU_VERSION-flakes.txt \ + --skips $INSTALL/all-skips.txt $DEQP_SKIPS \ + --flakes $INSTALL/$GPU_VERSION-flakes.txt \ --testlog-to-xml /deqp/executor/testlog-to-xml \ --jobs ${FDO_CI_CONCURRENT:-4} \ $DEQP_RUNNER_OPTIONS \ @@ -164,8 +164,8 @@ else suite \ --suite $INSTALL/deqp-$DEQP_SUITE.toml \ --output $RESULTS \ - --skips $INSTALL/deqp-all-skips.txt $DEQP_SKIPS \ - --flakes $INSTALL/deqp-$GPU_VERSION-flakes.txt \ + --skips $INSTALL/all-skips.txt $DEQP_SKIPS \ + --flakes $INSTALL/$GPU_VERSION-flakes.txt \ --testlog-to-xml /deqp/executor/testlog-to-xml \ --fraction-start $CI_NODE_INDEX \ --fraction $CI_NODE_TOTAL \ @@ -202,7 +202,7 @@ if [ -n "$FLAKES_CHANNEL" ]; then --host irc.oftc.net \ --port 6667 \ --results $RESULTS/results.csv \ - --known-flakes $INSTALL/deqp-$GPU_VERSION-flakes.txt \ + --known-flakes $INSTALL/$GPU_VERSION-flakes.txt \ --channel "$FLAKES_CHANNEL" \ --runner "$CI_RUNNER_DESCRIPTION" \ --job "$CI_JOB_ID" \ diff --git a/.gitlab-ci/prepare-artifacts.sh b/.gitlab-ci/prepare-artifacts.sh index bbc37ef1419..04c4c7ab24f 100755 --- a/.gitlab-ci/prepare-artifacts.sh +++ b/.gitlab-ci/prepare-artifacts.sh @@ -34,7 +34,7 @@ cp -Rp .gitlab-ci/fossilize-runner.sh install/ cp -Rp .gitlab-ci/deqp-runner.sh install/ cp -Rp .gitlab-ci/crosvm-runner.sh install/ cp -Rp .gitlab-ci/crosvm-init.sh install/ -cp -Rp .gitlab-ci/deqp-*.txt install/ +cp -Rp .gitlab-ci/*.txt install/ cp -Rp .gitlab-ci/report-flakes.py install/ cp -Rp .gitlab-ci/vkd3d-proton install/ find . -path \*/ci/\*.txt \ |