ci: Fix DEQP_CASELIST_FILTER (used by a630 noubo run)
authorEric Anholt <eric@anholt.net>
Sat, 16 May 2020 00:18:12 +0000 (17:18 -0700)
committerMarge Bot <eric+marge@anholt.net>
Fri, 22 May 2020 16:44:46 +0000 (16:44 +0000)
We were doing sed -i /filter/p, which printed everything but printed the
filtered things twice (though they'd only get tested once).  Now that the
filter works, run all the UBO tests instead of doing a 1/5 run, revealing
a new failure.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5089>

.gitlab-ci.yml
.gitlab-ci/deqp-freedreno-a630-noubo-fails.txt [new file with mode: 0644]
.gitlab-ci/deqp-runner.sh

index 17bb3c7afaaeaac91efd58b37612dd38e65238f1..981d306b3c79119fca31c04dd7503c486b87de46 100644 (file)
@@ -821,7 +821,7 @@ arm64_a630_gles31_options:
   script:
     # We almost always manage to lower UBOs back to constant uploads in
     # the test suite, so get a little testing for it here.
-    - DEQP_RUN_SUFFIX=-nouboopt IR3_SHADER_DEBUG=nouboopt DEQP_CASELIST_FILTER="functional.\*ubo" ./install/deqp-runner.sh
+    - DEQP_RUN_SUFFIX=-nouboopt IR3_SHADER_DEBUG=nouboopt DEQP_CASELIST_FILTER="functional.*ubo" DEQP_EXPECTED_FAILS=deqp-freedreno-a630-noubo-fails.txt CI_NODE_INDEX= ./install/deqp-runner.sh
     # The driver does some guessing as to whether to render using gmem
     # or bypass, and some GLES3.1 features interact with either one.
     # Do a little testing with gmem and bypass forced.
diff --git a/.gitlab-ci/deqp-freedreno-a630-noubo-fails.txt b/.gitlab-ci/deqp-freedreno-a630-noubo-fails.txt
new file mode 100644 (file)
index 0000000..64f2597
--- /dev/null
@@ -0,0 +1 @@
+dEQP-GLES31.functional.ubo.random.all_per_block_buffers.20
index 0749fc917f35d435ae0f542087570388e96a259c..5bcba5849195bd2ed68ac21ac8f70ce8dc7d905e 100755 (executable)
@@ -61,7 +61,7 @@ if [ -n "$CI_NODE_INDEX" ]; then
 fi
 
 if [ -n "$DEQP_CASELIST_FILTER" ]; then
-    sed -i "/$DEQP_CASELIST_FILTER/p" /tmp/case-list.txt
+    sed -ni "/$DEQP_CASELIST_FILTER/p" /tmp/case-list.txt
 fi
 
 if [ ! -s /tmp/case-list.txt ]; then