[Piglit] [PATCH] cl: Fix device_regex feature
Jan Vesely
jan.vesely at rutgers.edu
Tue Sep 19 02:25:23 UTC 2017
On Mon, 2017-09-18 at 18:29 -0700, Matt Arsenault wrote:
> ---
> 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);
nice catch.
Reviewed-by: Jan Vesely <jan.vesely at rutgers.edu>
--
Jan Vesely <jan.vesely at rutgers.edu>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/piglit/attachments/20170918/a6ad87d0/attachment.sig>
More information about the Piglit
mailing list