From cee167368446a1b8527927522718819b2c973bd3 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Fri, 30 Apr 2021 12:41:03 -0700 Subject: [PATCH] ci: Add DEQP_CASELIST_INV_FILTER Inverts the match compared to DEQP_CASELIST_FILTER Signed-off-by: Rob Clark Part-of: --- .gitlab-ci/bare-metal/rootfs-setup.sh | 1 + .gitlab-ci/deqp-runner.sh | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/.gitlab-ci/bare-metal/rootfs-setup.sh b/.gitlab-ci/bare-metal/rootfs-setup.sh index 2ea5c014e77..db4cc04d1b2 100644 --- a/.gitlab-ci/bare-metal/rootfs-setup.sh +++ b/.gitlab-ci/bare-metal/rootfs-setup.sh @@ -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 \ diff --git a/.gitlab-ci/deqp-runner.sh b/.gitlab-ci/deqp-runner.sh index f9c69359638..2855e2b8bc5 100755 --- a/.gitlab-ci/deqp-runner.sh +++ b/.gitlab-ci/deqp-runner.sh @@ -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