summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorTomeu Vizoso <[email protected]>2019-06-26 08:02:31 +0200
committerTomeu Vizoso <[email protected]>2019-06-28 11:13:04 +0200
commit0315350d9eec68b3947efbc19b5bcc43ad3a7cf7 (patch)
tree1a3b40d314c29889f18768c2995e9d18353b2794 /src/gallium/drivers
parent847ef8ee4f0889be651f12ad5bbc7e43a177431a (diff)
panfrost/ci: Remove batching
Panfrost has grown and doesn't leak as much as before. Signed-off-by: Tomeu Vizoso <[email protected]> Reviewed-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/panfrost/ci/deqp-runner.sh9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/gallium/drivers/panfrost/ci/deqp-runner.sh b/src/gallium/drivers/panfrost/ci/deqp-runner.sh
index 33f146d789f..e389fc484e6 100644
--- a/src/gallium/drivers/panfrost/ci/deqp-runner.sh
+++ b/src/gallium/drivers/panfrost/ci/deqp-runner.sh
@@ -2,9 +2,6 @@
set -x
-# To prevent memory leaks from slowing throughput, restart everything between batches
-BATCH_SIZE=3000
-
DEQP_OPTIONS="--deqp-surface-width=256 --deqp-surface-height=256"
DEQP_OPTIONS="$DEQP_OPTIONS --deqp-visibility=hidden"
DEQP_OPTIONS="$DEQP_OPTIONS --deqp-log-images=disable"
@@ -36,8 +33,7 @@ touch /tmp/result.txt
tail -f /tmp/result.txt &
while [ -s /tmp/case-list.txt ]; do
- head -$BATCH_SIZE /tmp/case-list.txt > /tmp/next-batch.txt
- ./deqp-gles2 $DEQP_OPTIONS --deqp-log-filename=/dev/null --deqp-caselist-file=/tmp/next-batch.txt >> /tmp/result.txt
+ ./deqp-gles2 $DEQP_OPTIONS --deqp-log-filename=/dev/null --deqp-caselist-file=/tmp/case-list.txt >> /tmp/result.txt
if [ $? -ne 0 ]; then
# Continue from the subtest after the failing one
crashed_test=$(grep "Test case" /tmp/result.txt | tail -1 | sed "s/Test case '\(.*\)'\.\./\1/")
@@ -47,7 +43,6 @@ while [ -s /tmp/case-list.txt ]; do
echo "Test case '$crashed_test'..
Crash"
else
- # Consume a whole batch
- sed -i '1,'$BATCH_SIZE'd' /tmp/case-list.txt
+ break
fi
done