From 2ca64c12141504c68d725d6ee48d1541101a122d Mon Sep 17 00:00:00 2001 From: Pierre-Eric Pelloux-Prayer Date: Thu, 21 Apr 2022 16:50:39 +0200 Subject: [PATCH] radeonsi/tests: allow empty line and comments in csv files MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This will help describe why tests are failing. Reviewed-by: Marek Olšák Part-of: --- src/gallium/drivers/radeonsi/ci/radeonsi-run-tests.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gallium/drivers/radeonsi/ci/radeonsi-run-tests.py b/src/gallium/drivers/radeonsi/ci/radeonsi-run-tests.py index d2d02d5..897d833 100755 --- a/src/gallium/drivers/radeonsi/ci/radeonsi-run-tests.py +++ b/src/gallium/drivers/radeonsi/ci/radeonsi-run-tests.py @@ -289,6 +289,9 @@ def parse_test_filters(include_tests): if os.path.exists(t): with open(t, "r") as file: for row in csv.reader(file, delimiter=","): + if not row or row[0][0] == '#': + continue + print(row) cmd += ["-t", row[0]] else: cmd += ["-t", t] -- 2.7.4