Mesa (main): radeonsi/test: fix test script args handling

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Aug 12 10:03:59 UTC 2021


Module: Mesa
Branch: main
Commit: ac321c6fcf67043188dd5cf0b612533de4ba09c3
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ac321c6fcf67043188dd5cf0b612533de4ba09c3

Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date:   Tue Aug 10 14:04:02 2021 +0200

radeonsi/test: fix test script args handling

Fixes: 20055a307df ("radeonsi: add -t option to the test script")
Acked-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12306>

---

 src/gallium/drivers/radeonsi/ci/radeonsi-run-tests.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/radeonsi/ci/radeonsi-run-tests.py b/src/gallium/drivers/radeonsi/ci/radeonsi-run-tests.py
index 78b14281d38..e8b575b6e5f 100755
--- a/src/gallium/drivers/radeonsi/ci/radeonsi-run-tests.py
+++ b/src/gallium/drivers/radeonsi/ci/radeonsi-run-tests.py
@@ -51,7 +51,7 @@ parser.add_argument(
     default=os.getenv("MAREKO_BUILD_PATH"),
 )
 parser.add_argument('--verbose', '-v', action='count', default=0)
-parser.add_argument('--include-tests', '-t', action='append', dest="include_tests")
+parser.add_argument('--include-tests', '-t', action='append', dest="include_tests", default=[])
 
 parser.add_argument(
     "--no-piglit", dest="piglit", help="Disable piglit tests", action="store_false"



More information about the mesa-commit mailing list