kumquat-buildroot/package/optee-test/0001-xtest-fix-generic-argument-handling.patch
Etienne Carriere b7cb6020e5 package/optee-test: bump to version 3.9.0
Bump OP-TEE Test package version to OP-TEE release 3.9.0.

Drop patch on scripts/file_to_c.py that is merged in 3.9.0.
Add patch from [1] for related issue found in 3.9.0 xtest tool.
Add patch to default disable xtest regression test 1027 and 1028 that
mandate changes in Linux kernel OP-TEE driver that are not available
in mainline, at least as of Linux kernel v5.7.

[1] e1af176af2

Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-07-14 15:34:28 +02:00

33 lines
1009 B
Diff

From e1af176af2bb274745e9b0d43456763f8946f107 Mon Sep 17 00:00:00 2001
From: Etienne Carriere <etienne.carriere@linaro.org>
Date: Mon, 25 May 2020 13:09:59 +0200
Subject: [PATCH] xtest: fix generic argument handling
Fix position of last generic argument badly handled that makes -d, -l or
-t argument being treated also as if it was the first test ID to consider
in the filtered test IDs list.
Fixes: 66542a1bb4e0 ("xtest: exclude tests with -x")
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Acked-by: Jerome Forissier <jerome@forissier.org>
---
host/xtest/xtest_main.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/host/xtest/xtest_main.c b/host/xtest/xtest_main.c
index 3dff2fe..1e566fa 100644
--- a/host/xtest/xtest_main.c
+++ b/host/xtest/xtest_main.c
@@ -188,8 +188,6 @@ int main(int argc, char *argv[])
}
}
next:
- if (last_gen_option > 1)
- last_gen_option--;
for (index = last_gen_option; index < argc; index++) {
if (!strcmp(argv[index], "-x")) {
--
2.17.1