ci: Add DEQP_CASELIST_INV_FILTER
authorRob Clark <robdclark@chromium.org>
Fri, 30 Apr 2021 19:41:03 +0000 (12:41 -0700)
committerMarge Bot <eric+marge@anholt.net>
Sat, 1 May 2021 02:37:05 +0000 (02:37 +0000)
Inverts the match compared to DEQP_CASELIST_FILTER

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10560>

.gitlab-ci/bare-metal/rootfs-setup.sh
.gitlab-ci/deqp-runner.sh

index 2ea5c01..db4cc04 100644 (file)
@@ -35,6 +35,7 @@ for var in \
     CI_RUNNER_DESCRIPTION \
     CI_SERVER_URL \
     DEQP_CASELIST_FILTER \
+    DEQP_CASELIST_INV_FILTER \
     DEQP_CONFIG \
     DEQP_EXPECTED_RENDERER \
     DEQP_FRACTION \
index f9c6935..2855e2b 100755 (executable)
@@ -78,6 +78,10 @@ if [ -n "$DEQP_CASELIST_FILTER" ]; then
     sed -ni "/$DEQP_CASELIST_FILTER/p" /tmp/case-list.txt
 fi
 
+if [ -n "$DEQP_CASELIST_INV_FILTER" ]; then
+    sed -ni "/$DEQP_CASELIST_INV_FILTER/!p" /tmp/case-list.txt
+fi
+
 if [ ! -s /tmp/case-list.txt ]; then
     echo "Caselist generation failed"
     exit 1