[Piglit] [PATCH] cl: Fix device_regex feature

Matt Arsenault arsenm2 at gmail.com
Tue Sep 19 01:29:20 UTC 2017


---
 tests/cl/program/program-tester.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/cl/program/program-tester.c b/tests/cl/program/program-tester.c
index 1a876101d..a4abed9ee 100644
--- a/tests/cl/program/program-tester.c
+++ b/tests/cl/program/program-tester.c
@@ -1703,7 +1703,7 @@ parse_config(const char* config_str,
 				} else if(regex_match(key, "^platform_regex$")) {
 					config->platform_regex = add_dynamic_str_copy(value);
 				} else if(regex_match(key, "^device_regex$")) {
-					config->platform_regex = add_dynamic_str_copy(value);
+					config->device_regex = add_dynamic_str_copy(value);
 				} else if(regex_match(key, "^require_platform_extensions$")) {
 					config->require_platform_extensions =
 						add_dynamic_str_copy(value);
-- 
2.11.0



More information about the Piglit mailing list