summaryrefslogtreecommitdiff
path: root/.gitlab-ci/deqp-runner.sh
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2020-04-17 12:02:37 -0700
committerMarge Bot <eric+marge@anholt.net>2020-04-27 22:10:10 +0000
commit5082ac007d1758fdbe516649a1b28363ca32456c (patch)
treefa97dacca481d06a61256afdd0519b155d583fb1 /.gitlab-ci/deqp-runner.sh
parentb8c66aeb9341d695c79a2d69935016919c42f843 (diff)
downloadmesa-5082ac007d1758fdbe516649a1b28363ca32456c.tar.gz
ci/freedreno: Add a test run of a few driver options.
This lets us get coverage of corner cases of the driver that are tricky to force a testcase to hit. We don't want to do a full run of the CTS with each option because that's a lot of runner time, so stack a bunch of fractional runs in one test job to amortize the test run setup overhead. Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4621>
Diffstat (limited to '.gitlab-ci/deqp-runner.sh')
-rwxr-xr-x.gitlab-ci/deqp-runner.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/.gitlab-ci/deqp-runner.sh b/.gitlab-ci/deqp-runner.sh
index 59cfd820214..d4de8f74baf 100755
--- a/.gitlab-ci/deqp-runner.sh
+++ b/.gitlab-ci/deqp-runner.sh
@@ -60,6 +60,10 @@ if [ -n "$CI_NODE_INDEX" ]; then
sed -ni $CI_NODE_INDEX~$CI_NODE_TOTAL"p" /tmp/case-list.txt
fi
+if [ -n "$DEQP_CASELIST_FILTER" ]; then
+ sed -i "/$DEQP_CASELIST_FILTER/p" /tmp/case-list.txt
+fi
+
if [ ! -s /tmp/case-list.txt ]; then
echo "Caselist generation failed"
exit 1