[Piglit] [PATCH] python: add explicit utf-8 encoding

Dylan Baker dylan at pnwbakers.com
Thu Nov 8 19:10:49 UTC 2018


yeah, python's pretty liberal in what it accepts.

Quoting Eric Engestrom (2018-11-08 11:05:33)
> I went with `# coding=utf-8` as it was the most common format in the
> existing code:
>      24 # coding=utf-8
>      21 ## coding=utf-8
>      19 # encoding=utf-8
>       9 ## encoding=utf-8
>       6 # -*- coding: utf-8 -*-
> 
> I added it as the first line after the shebang, if any.

perfect, that's the right thing to do.

Reviewed-by: Dylan Baker <dylan at pnwbakers.com>

> 
> Suggested-by: Dylan Baker <dylan at pnwbakers.com>
> Signed-off-by: Eric Engestrom <eric at engestrom.ch>
> ---
>  framework/__init__.py                                   | 1 +
>  framework/backends/__init__.py                          | 1 +
>  framework/backends/abstract.py                          | 1 +
>  framework/backends/compression.py                       | 1 +
>  framework/backends/json.py                              | 1 +
>  framework/backends/junit.py                             | 1 +
>  framework/backends/register.py                          | 1 +
>  framework/compat.py                                     | 1 +
>  framework/core.py                                       | 1 +
>  framework/dmesg.py                                      | 1 +
>  framework/driver_classifier.py                          | 1 +
>  framework/exceptions.py                                 | 1 +
>  framework/grouptools.py                                 | 1 +
>  framework/log.py                                        | 1 +
>  framework/monitoring.py                                 | 1 +
>  framework/options.py                                    | 1 +
>  framework/profile.py                                    | 1 +
>  framework/programs/parsers.py                           | 1 +
>  framework/programs/print_commands.py                    | 1 +
>  framework/programs/run.py                               | 1 +
>  framework/programs/summary.py                           | 1 +
>  framework/results.py                                    | 1 +
>  framework/status.py                                     | 1 +
>  framework/summary/__init__.py                           | 1 +
>  framework/summary/common.py                             | 1 +
>  framework/summary/console_.py                           | 1 +
>  framework/summary/feature.py                            | 1 +
>  framework/summary/html_.py                              | 1 +
>  framework/test/__init__.py                              | 1 +
>  framework/test/base.py                                  | 1 +
>  framework/test/deqp.py                                  | 1 +
>  framework/test/glsl_parser_test.py                      | 1 +
>  framework/test/gtest.py                                 | 1 +
>  framework/test/oclconform.py                            | 1 +
>  framework/test/opencv.py                                | 1 +
>  framework/test/opengl.py                                | 1 +
>  framework/test/piglit_test.py                           | 1 +
>  framework/test/shader_test.py                           | 1 +
>  framework/wflinfo.py                                    | 1 +
>  generated_tests/gen_cl_common_builtins.py               | 1 +
>  generated_tests/gen_cl_int_builtins.py                  | 1 +
>  generated_tests/gen_cl_math_builtins.py                 | 1 +
>  generated_tests/gen_cl_relational_builtins.py           | 1 +
>  generated_tests/gen_cl_shuffle2_builtins.py             | 1 +
>  generated_tests/gen_cl_shuffle_builtins.py              | 1 +
>  generated_tests/gen_cl_store_tests.py                   | 1 +
>  generated_tests/gen_cl_vload_tests.py                   | 1 +
>  generated_tests/gen_cl_vstore_tests.py                  | 1 +
>  generated_tests/gen_const_builtin_equal_tests.py        | 1 +
>  generated_tests/gen_outerproduct_invalid_params.py      | 1 +
>  generated_tests/gen_outerproduct_tests.py               | 1 +
>  generated_tests/gen_texture_lod_tests.py                | 1 +
>  generated_tests/gen_variable_index_read_tests.py        | 1 +
>  generated_tests/gen_variable_index_write_tests.py       | 1 +
>  generated_tests/genclbuiltins.py                        | 1 +
>  generated_tests/modules/__init__.py                     | 1 +
>  generated_tests/modules/utils.py                        | 1 +
>  generated_tests/random_ubo-arb_uniform_buffer_object.py | 1 +
>  generated_tests/random_ubo.py                           | 1 +
>  generated_tests/random_ubo_trim.py                      | 1 +
>  generated_tests/templates/__init__.py                   | 1 +
>  piglit-print-commands.py                                | 1 +
>  piglit-resume.py                                        | 1 +
>  piglit-run.py                                           | 1 +
>  piglit-summary-html.py                                  | 1 +
>  piglit-summary.py                                       | 1 +
>  registry/gl.py                                          | 1 +
>  tests/apitrace/test-trace.py                            | 1 +
>  tests/crucible.py                                       | 1 +
>  tests/cts_gl.py                                         | 1 +
>  tests/cts_gl45.py                                       | 1 +
>  tests/cts_gles.py                                       | 1 +
>  tests/deqp_gles2.py                                     | 1 +
>  tests/deqp_gles3.py                                     | 1 +
>  tests/deqp_gles31.py                                    | 1 +
>  tests/deqp_vk.py                                        | 1 +
>  tests/es3conform.py                                     | 1 +
>  tests/glslparser.py                                     | 1 +
>  tests/glslparsertest/glsl2/gen_builtin_test.py          | 1 +
>  tests/gtf_gl.py                                         | 1 +
>  tests/gtf_gles.py                                       | 1 +
>  tests/igt.py                                            | 1 +
>  tests/khr_gl.py                                         | 1 +
>  tests/khr_gl45.py                                       | 1 +
>  tests/khr_gles.py                                       | 1 +
>  tests/khr_noctx.py                                      | 1 +
>  tests/oglconform.py                                     | 1 +
>  tests/py_modules/constants.py                           | 1 +
>  tests/shader.py                                         | 1 +
>  tests/util/gen_dispatch.py                              | 1 +
>  tests/xts-render.py                                     | 1 +
>  tests/xts.py                                            | 1 +
>  unittests/framework/backends/test_compression.py        | 1 +
>  unittests/framework/backends/test_json.py               | 1 +
>  unittests/framework/backends/test_json_update.py        | 1 +
>  unittests/framework/backends/test_junit.py              | 1 +
>  unittests/framework/backends/test_package.py            | 1 +
>  unittests/framework/summary/test_common.py              | 1 +
>  unittests/framework/summary/test_console.py             | 1 +
>  unittests/framework/summary/test_html.py                | 1 +
>  unittests/framework/test/test_base.py                   | 1 +
>  unittests/framework/test/test_deqp.py                   | 1 +
>  unittests/framework/test/test_glsl_parser_test.py       | 1 +
>  unittests/framework/test/test_gtest.py                  | 1 +
>  unittests/framework/test/test_opencv.py                 | 1 +
>  unittests/framework/test/test_opengl.py                 | 1 +
>  unittests/framework/test/test_piglit_test.py            | 1 +
>  unittests/framework/test/test_shader_test.py            | 1 +
>  unittests/framework/test_core.py                        | 1 +
>  unittests/framework/test_dmesg.py                       | 1 +
>  unittests/framework/test_driver_classifier.py           | 1 +
>  unittests/framework/test_exceptions.py                  | 1 +
>  unittests/framework/test_log.py                         | 1 +
>  unittests/framework/test_monitoring.py                  | 1 +
>  unittests/framework/test_options.py                     | 1 +
>  unittests/framework/test_profile.py                     | 1 +
>  unittests/framework/test_wflinfo.py                     | 1 +
>  unittests/generators/test_generators.py                 | 1 +
>  unittests/suites/test_integration.py                    | 1 +
>  unittests/suites/test_native.py                         | 1 +
>  unittests/suites/test_oglconform.py                     | 1 +
>  121 files changed, 121 insertions(+)
> 
> diff --git a/framework/__init__.py b/framework/__init__.py
> index 3cf6d82d6950a941d85f..6995dbbfeecf9217cf75 100644
> --- a/framework/__init__.py
> +++ b/framework/__init__.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  #
>  # Permission is hereby granted, free of charge, to any person
>  # obtaining a copy of this software and associated documentation
> diff --git a/framework/backends/__init__.py b/framework/backends/__init__.py
> index 488ad5515492af0269ad..afcb4c2bbb3df8a114b0 100644
> --- a/framework/backends/__init__.py
> +++ b/framework/backends/__init__.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2014-2016 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/framework/backends/abstract.py b/framework/backends/abstract.py
> index 85abfa52dff80bc886e2..447dba17d78ce5638a18 100644
> --- a/framework/backends/abstract.py
> +++ b/framework/backends/abstract.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2014, 2016 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/framework/backends/compression.py b/framework/backends/compression.py
> index 96565ecf1020ce2ac6c3..819b3ef9a07ef873be2b 100644
> --- a/framework/backends/compression.py
> +++ b/framework/backends/compression.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2015-2016 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/framework/backends/json.py b/framework/backends/json.py
> index 46ea6f7bc5444d4c58f8..556621e5f27b25cd0393 100644
> --- a/framework/backends/json.py
> +++ b/framework/backends/json.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2014, 2016-2017 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/framework/backends/junit.py b/framework/backends/junit.py
> index f1e14ef22fc78de9354a..349e06db7bcf15d8ae29 100644
> --- a/framework/backends/junit.py
> +++ b/framework/backends/junit.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2014-2016 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/framework/backends/register.py b/framework/backends/register.py
> index 8d30d3e7b75099079997..2e874fed2e459ca0209c 100644
> --- a/framework/backends/register.py
> +++ b/framework/backends/register.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2015-2016 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/framework/compat.py b/framework/compat.py
> index 114ca364203951c0a092..85030b8e68eeea08843f 100644
> --- a/framework/compat.py
> +++ b/framework/compat.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2016 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/framework/core.py b/framework/core.py
> index 61643af95611bfeb7de4..bd81c9558821ead82f03 100644
> --- a/framework/core.py
> +++ b/framework/core.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2014-2016 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/framework/dmesg.py b/framework/dmesg.py
> index f327e92a93a89bb74b7c..a709835704839f4b0d7e 100644
> --- a/framework/dmesg.py
> +++ b/framework/dmesg.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2013-2016 Intel Corporation
>  #
>  # Permission is hereby granted, free of charge, to any person obtaining a
> diff --git a/framework/driver_classifier.py b/framework/driver_classifier.py
> index dcef6cdbc44c37f3b8c9..c36b353967c7badf6bc8 100644
> --- a/framework/driver_classifier.py
> +++ b/framework/driver_classifier.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2016 Broadcom
>  #
>  # Permission is hereby granted, free of charge, to any person obtaining a
> diff --git a/framework/exceptions.py b/framework/exceptions.py
> index 6ca3ed773039d4311748..5ea47c6a13ce120c54e5 100644
> --- a/framework/exceptions.py
> +++ b/framework/exceptions.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2015 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/framework/grouptools.py b/framework/grouptools.py
> index ce2e97c79fd6ee4c6e9d..11b0af95a51c576f9902 100644
> --- a/framework/grouptools.py
> +++ b/framework/grouptools.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2014-2016 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/framework/log.py b/framework/log.py
> index 613460b7d4658673e645..69e89bf7d09259c890aa 100644
> --- a/framework/log.py
> +++ b/framework/log.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2013-2016 Intel Corporation
>  #
>  # Permission is hereby granted, free of charge, to any person obtaining a
> diff --git a/framework/monitoring.py b/framework/monitoring.py
> index 1060cc531801b286cc98..1eb213c3c894bc1683a0 100644
> --- a/framework/monitoring.py
> +++ b/framework/monitoring.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2016 Intel Corporation
>  #
>  # Permission is hereby granted, free of charge, to any person obtaining a
> diff --git a/framework/options.py b/framework/options.py
> index 0500640b247623d7de3e..0abe1f63d16ce68468dc 100644
> --- a/framework/options.py
> +++ b/framework/options.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2015-2016 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/framework/profile.py b/framework/profile.py
> index 8d6fd07067209d1ce006..44c3fbd9ffeacabd3c7f 100644
> --- a/framework/profile.py
> +++ b/framework/profile.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Permission is hereby granted, free of charge, to any person
>  # obtaining a copy of this software and associated documentation
>  # files (the "Software"), to deal in the Software without
> diff --git a/framework/programs/parsers.py b/framework/programs/parsers.py
> index 9e1d1e3bd1fac25af578..242d9c4a9054aa232d73 100644
> --- a/framework/programs/parsers.py
> +++ b/framework/programs/parsers.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2015-2016 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/framework/programs/print_commands.py b/framework/programs/print_commands.py
> index 511ccdb514fc5c625498..8a2e2669aa14cdc9abbc 100644
> --- a/framework/programs/print_commands.py
> +++ b/framework/programs/print_commands.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2016 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/framework/programs/run.py b/framework/programs/run.py
> index 23cb5e1882565a5b798f..df6ebe7aaa849f9c2c39 100644
> --- a/framework/programs/run.py
> +++ b/framework/programs/run.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Permission is hereby granted, free of charge, to any person
>  # obtaining a copy of this software and associated documentation
>  # files (the "Software"), to deal in the Software without
> diff --git a/framework/programs/summary.py b/framework/programs/summary.py
> index 1467f9af78a581d1410f..81a2eb72c8988cf2930e 100644
> --- a/framework/programs/summary.py
> +++ b/framework/programs/summary.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Permission is hereby granted, free of charge, to any person
>  # obtaining a copy of this software and associated documentation
>  # files (the "Software"), to deal in the Software without
> diff --git a/framework/results.py b/framework/results.py
> index 31cb8dff3bb6805683a3..214971735871faf1cdf1 100644
> --- a/framework/results.py
> +++ b/framework/results.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Permission is hereby granted, free of charge, to any person
>  # obtaining a copy of this software and associated documentation
>  # files (the "Software"), to deal in the Software without
> diff --git a/framework/status.py b/framework/status.py
> index c69c50ae03cae871a875..14f05880454a0dadc970 100644
> --- a/framework/status.py
> +++ b/framework/status.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2013, 2015 Intel Corporation
>  #
>  # Permission is hereby granted, free of charge, to any person obtaining a
> diff --git a/framework/summary/__init__.py b/framework/summary/__init__.py
> index e24b2689013dcbffe9ae..10ae4534ba9dfb520d5a 100644
> --- a/framework/summary/__init__.py
> +++ b/framework/summary/__init__.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2015-2016 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/framework/summary/common.py b/framework/summary/common.py
> index 5af6927034ed2f09982b..f62dcedf0f4232dab705 100644
> --- a/framework/summary/common.py
> +++ b/framework/summary/common.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright 2013-2016 Intel Corporation
>  # Copyright 2013, 2014 Advanced Micro Devices
>  # Copyright 2014 VMWare
> diff --git a/framework/summary/console_.py b/framework/summary/console_.py
> index a51a54efc8c1b770029c..f789bdef626c9ae669f6 100644
> --- a/framework/summary/console_.py
> +++ b/framework/summary/console_.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright 2013-2016 Intel Corporation
>  # Copyright 2013, 2014 Advanced Micro Devices
>  # Copyright 2014 VMWare
> diff --git a/framework/summary/feature.py b/framework/summary/feature.py
> index 257198ad730a66b82e23..873ff10fc19e83e16c20 100644
> --- a/framework/summary/feature.py
> +++ b/framework/summary/feature.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2016-2016 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person
> diff --git a/framework/summary/html_.py b/framework/summary/html_.py
> index f0cc6b639e6c202f8945..c9efe2081e548c1db4ba 100644
> --- a/framework/summary/html_.py
> +++ b/framework/summary/html_.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright 2013-2016 Intel Corporation
>  # Copyright 2013, 2014 Advanced Micro Devices
>  # Copyright 2014 VMWare
> diff --git a/framework/test/__init__.py b/framework/test/__init__.py
> index d305929d52ca15cea082..daf3b6d41dcf9d0b652e 100644
> --- a/framework/test/__init__.py
> +++ b/framework/test/__init__.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2014,2016 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/framework/test/base.py b/framework/test/base.py
> index f187c02109dd52fd1581..6e719cc788123cccb009 100644
> --- a/framework/test/base.py
> +++ b/framework/test/base.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  #
>  # Permission is hereby granted, free of charge, to any person
>  # obtaining a copy of this software and associated documentation
> diff --git a/framework/test/deqp.py b/framework/test/deqp.py
> index 042a522b2c282d2f0e4e..5db2a922feebcb4f1bd1 100644
> --- a/framework/test/deqp.py
> +++ b/framework/test/deqp.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright 2014-2016,2018 Intel Corporation
>  #
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/framework/test/glsl_parser_test.py b/framework/test/glsl_parser_test.py
> index 1cce6503623c0ddce3a5..ef89fe062b5ef9af6146 100644
> --- a/framework/test/glsl_parser_test.py
> +++ b/framework/test/glsl_parser_test.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Permission is hereby granted, free of charge, to any person
>  # obtaining a copy of this software and associated documentation
>  # files (the "Software"), to deal in the Software without
> diff --git a/framework/test/gtest.py b/framework/test/gtest.py
> index b331a2fb33272e5c5f6d..dbb461368539c1676f5b 100644
> --- a/framework/test/gtest.py
> +++ b/framework/test/gtest.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright 2016 Intel Corporation
>  # Copyright 2013, 2014 Advanced Micro Devices, Inc.
>  #
> diff --git a/framework/test/oclconform.py b/framework/test/oclconform.py
> index 0a644995dd4de0290b88..65b10b2b875dacd9f16a 100644
> --- a/framework/test/oclconform.py
> +++ b/framework/test/oclconform.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright 2016 Intel Corporation
>  # Copyright 2014 Advanced Micro Devices, Inc.
>  #
> diff --git a/framework/test/opencv.py b/framework/test/opencv.py
> index a31d5626b579756a74e4..3cbdb02f8eceb6fb00b9 100644
> --- a/framework/test/opencv.py
> +++ b/framework/test/opencv.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright 2016 Intel Corporation
>  # Copyright 2014 Advanced Micro Devices, Inc.
>  #
> diff --git a/framework/test/opengl.py b/framework/test/opengl.py
> index 3c8460e28f91a792d40f..0566fb0a83e4e00889ce 100644
> --- a/framework/test/opengl.py
> +++ b/framework/test/opengl.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2015-2016 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/framework/test/piglit_test.py b/framework/test/piglit_test.py
> index 83398bf6a719ade2e32c..f52b0150aef5bed82f57 100644
> --- a/framework/test/piglit_test.py
> +++ b/framework/test/piglit_test.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  #
>  # Permission is hereby granted, free of charge, to any person
>  # obtaining a copy of this software and associated documentation
> diff --git a/framework/test/shader_test.py b/framework/test/shader_test.py
> index 4487e5d198823f6f7ac5..3f6f7bb0f87e8030df34 100644
> --- a/framework/test/shader_test.py
> +++ b/framework/test/shader_test.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (C) 2012, 2014-2016 Intel Corporation
>  #
>  # Permission is hereby granted, free of charge, to any person
> diff --git a/framework/wflinfo.py b/framework/wflinfo.py
> index a568bc3446b2446054ae..a6bb9e85532fe6085075 100644
> --- a/framework/wflinfo.py
> +++ b/framework/wflinfo.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2015-2016 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/generated_tests/gen_cl_common_builtins.py b/generated_tests/gen_cl_common_builtins.py
> index 19563eb43e3e8d74838a..72969b3122f3a2c07213 100644
> --- a/generated_tests/gen_cl_common_builtins.py
> +++ b/generated_tests/gen_cl_common_builtins.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright 2013 Advanced Micro Devices, Inc.
>  #
>  # Permission is hereby granted, free of charge, to any person obtaining a
> diff --git a/generated_tests/gen_cl_int_builtins.py b/generated_tests/gen_cl_int_builtins.py
> index 03848f07b4b674e4505e..28c441ee62c90c8269f8 100644
> --- a/generated_tests/gen_cl_int_builtins.py
> +++ b/generated_tests/gen_cl_int_builtins.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  from __future__ import print_function, division, absolute_import
>  import os
>  from genclbuiltins import gen, DATA_SIZES, MAX_VALUES, MAX, MIN, BMIN, BMAX, \
> diff --git a/generated_tests/gen_cl_math_builtins.py b/generated_tests/gen_cl_math_builtins.py
> index 98950c3acb6da0a9537a..566b2dcf367d7083b0ca 100644
> --- a/generated_tests/gen_cl_math_builtins.py
> +++ b/generated_tests/gen_cl_math_builtins.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright 2013 Advanced Micro Devices, Inc.
>  #
>  # Permission is hereby granted, free of charge, to any person obtaining a
> diff --git a/generated_tests/gen_cl_relational_builtins.py b/generated_tests/gen_cl_relational_builtins.py
> index b9cdbe5087ce97fa4a02..3f0ea49cc904be93a582 100644
> --- a/generated_tests/gen_cl_relational_builtins.py
> +++ b/generated_tests/gen_cl_relational_builtins.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright 2013 Advanced Micro Devices, Inc.
>  #
>  # Permission is hereby granted, free of charge, to any person obtaining a
> diff --git a/generated_tests/gen_cl_shuffle2_builtins.py b/generated_tests/gen_cl_shuffle2_builtins.py
> index 0c729361b382b9698a92..79ded0388c99e6384a12 100644
> --- a/generated_tests/gen_cl_shuffle2_builtins.py
> +++ b/generated_tests/gen_cl_shuffle2_builtins.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Permission is hereby granted, free of charge, to any person obtaining a
>  # copy of this software and associated documentation files (the "Software"),
>  # to deal in the Software without restriction, including without limitation
> diff --git a/generated_tests/gen_cl_shuffle_builtins.py b/generated_tests/gen_cl_shuffle_builtins.py
> index 795c2d6085c0788920de..4df8b3d553ced19bfdbd 100644
> --- a/generated_tests/gen_cl_shuffle_builtins.py
> +++ b/generated_tests/gen_cl_shuffle_builtins.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Permission is hereby granted, free of charge, to any person obtaining a
>  # copy of this software and associated documentation files (the "Software"),
>  # to deal in the Software without restriction, including without limitation
> diff --git a/generated_tests/gen_cl_store_tests.py b/generated_tests/gen_cl_store_tests.py
> index 52a722ed380e107b4713..fd515c3ac2628d5d2b46 100644
> --- a/generated_tests/gen_cl_store_tests.py
> +++ b/generated_tests/gen_cl_store_tests.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright 2013 Advanced Micro Devices, Inc.
>  #
>  # Permission is hereby granted, free of charge, to any person obtaining a
> diff --git a/generated_tests/gen_cl_vload_tests.py b/generated_tests/gen_cl_vload_tests.py
> index 46410904d9a544f75fd4..d134a3711d8fb8b4653e 100644
> --- a/generated_tests/gen_cl_vload_tests.py
> +++ b/generated_tests/gen_cl_vload_tests.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright 2016 Advanced Micro Devices, Inc.
>  #
>  # Permission is hereby granted, free of charge, to any person obtaining a
> diff --git a/generated_tests/gen_cl_vstore_tests.py b/generated_tests/gen_cl_vstore_tests.py
> index 724f7a2b2ad21d9512ae..4e39c6a90c4e50d4657b 100644
> --- a/generated_tests/gen_cl_vstore_tests.py
> +++ b/generated_tests/gen_cl_vstore_tests.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright 2016 Advanced Micro Devices, Inc.
>  #
>  # Permission is hereby granted, free of charge, to any person obtaining a
> diff --git a/generated_tests/gen_const_builtin_equal_tests.py b/generated_tests/gen_const_builtin_equal_tests.py
> index edfff8bd819bbc99ba5a..6fbd5be210827f6478e2 100644
> --- a/generated_tests/gen_const_builtin_equal_tests.py
> +++ b/generated_tests/gen_const_builtin_equal_tests.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2010, 2014 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/generated_tests/gen_outerproduct_invalid_params.py b/generated_tests/gen_outerproduct_invalid_params.py
> index 4db09bd1b0c14a2970e7..c6b4bba8483f61841561 100644
> --- a/generated_tests/gen_outerproduct_invalid_params.py
> +++ b/generated_tests/gen_outerproduct_invalid_params.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2014 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/generated_tests/gen_outerproduct_tests.py b/generated_tests/gen_outerproduct_tests.py
> index 0948144d94b69751c184..0828e4b7dd8095a82836 100644
> --- a/generated_tests/gen_outerproduct_tests.py
> +++ b/generated_tests/gen_outerproduct_tests.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2014 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/generated_tests/gen_texture_lod_tests.py b/generated_tests/gen_texture_lod_tests.py
> index 2bfedf74823dd8581a7a..eb286b65ceb5415b3856 100644
> --- a/generated_tests/gen_texture_lod_tests.py
> +++ b/generated_tests/gen_texture_lod_tests.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2014 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/generated_tests/gen_variable_index_read_tests.py b/generated_tests/gen_variable_index_read_tests.py
> index cc6f49bdb1f8428211b0..09e9b558bdcc54fdbc32 100644
> --- a/generated_tests/gen_variable_index_read_tests.py
> +++ b/generated_tests/gen_variable_index_read_tests.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2015 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/generated_tests/gen_variable_index_write_tests.py b/generated_tests/gen_variable_index_write_tests.py
> index acf8923070c60075ea6e..15cb7bccf226adc949d4 100644
> --- a/generated_tests/gen_variable_index_write_tests.py
> +++ b/generated_tests/gen_variable_index_write_tests.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2015-2016 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/generated_tests/genclbuiltins.py b/generated_tests/genclbuiltins.py
> index 25f2f7a9a5053fc9f9e6..c5ebaeb0a5c45bb1ba12 100644
> --- a/generated_tests/genclbuiltins.py
> +++ b/generated_tests/genclbuiltins.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  from __future__ import print_function, division, absolute_import
>  import os
>  
> diff --git a/generated_tests/modules/__init__.py b/generated_tests/modules/__init__.py
> index 11e926b377b1f47dea64..293fafd170d9d7553914 100644
> --- a/generated_tests/modules/__init__.py
> +++ b/generated_tests/modules/__init__.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  import importlib
>  import os
>  import sys
> diff --git a/generated_tests/modules/utils.py b/generated_tests/modules/utils.py
> index 5495ad800e61c6148a31..fc4f77901ab70fe5ddc5 100644
> --- a/generated_tests/modules/utils.py
> +++ b/generated_tests/modules/utils.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2014 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/generated_tests/random_ubo-arb_uniform_buffer_object.py b/generated_tests/random_ubo-arb_uniform_buffer_object.py
> index d9cdb5d5a291789a1c64..c9bbdc451ae1893f1eee 100644
> --- a/generated_tests/random_ubo-arb_uniform_buffer_object.py
> +++ b/generated_tests/random_ubo-arb_uniform_buffer_object.py
> @@ -1,4 +1,5 @@
>  #!/usr/bin/env python2
> +# coding=utf-8
>  
>  # Copyright (c) 2014 Intel Corporation
>  #
> diff --git a/generated_tests/random_ubo.py b/generated_tests/random_ubo.py
> index 31d0f8523c54a95befc5..042b8b7a7db9ac00faf2 100644
> --- a/generated_tests/random_ubo.py
> +++ b/generated_tests/random_ubo.py
> @@ -1,4 +1,5 @@
>  #!/usr/bin/env python2
> +# coding=utf-8
>  
>  # Copyright (c) 2014 Intel Corporation
>  #
> diff --git a/generated_tests/random_ubo_trim.py b/generated_tests/random_ubo_trim.py
> index 438d9c7115b0b1cceea9..5ae21bf0610b69c9c91a 100644
> --- a/generated_tests/random_ubo_trim.py
> +++ b/generated_tests/random_ubo_trim.py
> @@ -1,4 +1,5 @@
>  #!/usr/bin/env python2
> +# coding=utf-8
>  
>  # Copyright (c) 2014 Intel Corporation
>  #
> diff --git a/generated_tests/templates/__init__.py b/generated_tests/templates/__init__.py
> index c7f32c225a6ed6835142..240004bfdd810e484601 100644
> --- a/generated_tests/templates/__init__.py
> +++ b/generated_tests/templates/__init__.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2014-2016 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/piglit-print-commands.py b/piglit-print-commands.py
> index aeabe928d29a39afe650..8dcb13289c625e1d0d00 100755
> --- a/piglit-print-commands.py
> +++ b/piglit-print-commands.py
> @@ -1,4 +1,5 @@
>  #!/usr/bin/env python
> +# coding=utf-8
>  
>  # Copyright (c) 2014, 2016 Intel Corporation
>  
> diff --git a/piglit-resume.py b/piglit-resume.py
> index 93eaa60f9be3d307e021..94e8deae4a08fc6f945a 100755
> --- a/piglit-resume.py
> +++ b/piglit-resume.py
> @@ -1,4 +1,5 @@
>  #!/usr/bin/env python
> +# coding=utf-8
>  
>  # Copyright (c) 2014, 2016 Intel Corporation
>  
> diff --git a/piglit-run.py b/piglit-run.py
> index 8b5c51efbcf42cd29bf1..f37420ab56841cf943b6 100755
> --- a/piglit-run.py
> +++ b/piglit-run.py
> @@ -1,4 +1,5 @@
>  #!/usr/bin/env python
> +# coding=utf-8
>  
>  # Copyright (c) 2014, 2016 Intel Corporation
>  
> diff --git a/piglit-summary-html.py b/piglit-summary-html.py
> index 81a7d24ee019e33d937e..302b0b3af5aac0736406 100755
> --- a/piglit-summary-html.py
> +++ b/piglit-summary-html.py
> @@ -1,4 +1,5 @@
>  #!/usr/bin/env python
> +# coding=utf-8
>  
>  # Copyright (c) 2014, 2016 Intel Corporation
>  
> diff --git a/piglit-summary.py b/piglit-summary.py
> index 08739ba4d21a6b2cf408..3214d8e2fb9999cb070b 100755
> --- a/piglit-summary.py
> +++ b/piglit-summary.py
> @@ -1,4 +1,5 @@
>  #!/usr/bin/env python
> +# coding=utf-8
>  
>  # Copyright (c) 2014, 2016 Intel Corporation
>  
> diff --git a/registry/gl.py b/registry/gl.py
> index 0e7baab577068bfc9db1..0ebddf13bf607710341a 100644
> --- a/registry/gl.py
> +++ b/registry/gl.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright 2014 Intel Corporation
>  #
>  # Permission is hereby granted, free of charge, to any person obtaining a
> diff --git a/tests/apitrace/test-trace.py b/tests/apitrace/test-trace.py
> index 1230243265c14e9e7468..cdcdfc8410cb09114563 100755
> --- a/tests/apitrace/test-trace.py
> +++ b/tests/apitrace/test-trace.py
> @@ -1,4 +1,5 @@
>  #!/usr/bin/env python
> +# coding=utf-8
>  
>  # Copyright (c) 2016 Broadcom
>  #
> diff --git a/tests/crucible.py b/tests/crucible.py
> index 635033a741ddd452629d..99d6f8408125f0a7d68d 100644
> --- a/tests/crucible.py
> +++ b/tests/crucible.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright 2014-2016 Intel Corporation
>  #
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/tests/cts_gl.py b/tests/cts_gl.py
> index d650ffd4babc41512558..935df7a7c4be8c36159d 100644
> --- a/tests/cts_gl.py
> +++ b/tests/cts_gl.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2015 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/tests/cts_gl45.py b/tests/cts_gl45.py
> index 2782e18f4abbd6ad943d..d033c3efc7f3a11c4eb2 100644
> --- a/tests/cts_gl45.py
> +++ b/tests/cts_gl45.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2015 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/tests/cts_gles.py b/tests/cts_gles.py
> index 64de79d7f9e4971ffcaa..4ee28a89e19d17dae2a4 100644
> --- a/tests/cts_gles.py
> +++ b/tests/cts_gles.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2015 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/tests/deqp_gles2.py b/tests/deqp_gles2.py
> index 518a4e04c2838b8de255..8f9bee7066fa58abd1dd 100644
> --- a/tests/deqp_gles2.py
> +++ b/tests/deqp_gles2.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright 2015 Intel Corporation
>  #
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/tests/deqp_gles3.py b/tests/deqp_gles3.py
> index 6441a96003267445dde1..0fed6b3fa41b5bec2260 100644
> --- a/tests/deqp_gles3.py
> +++ b/tests/deqp_gles3.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright 2014, 2015 Intel Corporation
>  #
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/tests/deqp_gles31.py b/tests/deqp_gles31.py
> index 7021e8966ad3f683986e..e9ca0f346666046260b6 100644
> --- a/tests/deqp_gles31.py
> +++ b/tests/deqp_gles31.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright 2015 Intel Corporation
>  #
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/tests/deqp_vk.py b/tests/deqp_vk.py
> index 1f3d58d3863e9f6233a5..8c1a2bd59dab3f47c3e7 100644
> --- a/tests/deqp_vk.py
> +++ b/tests/deqp_vk.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright 2014-2016 Intel Corporation
>  #
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/tests/es3conform.py b/tests/es3conform.py
> index 6bdcf2ba95884b0ca75e..660db7cd958ac3d2fa45 100644
> --- a/tests/es3conform.py
> +++ b/tests/es3conform.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  #
>  # Permission is hereby granted, free of charge, to any person
>  # obtaining a copy of this software and associated documentation
> diff --git a/tests/glslparser.py b/tests/glslparser.py
> index fe2b3c5eaba9c1685435..8f2a13663f38d094ec5c 100644
> --- a/tests/glslparser.py
> +++ b/tests/glslparser.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  """A profile that runs only GLSLParserTest instances."""
>  
>  from __future__ import (
> diff --git a/tests/glslparsertest/glsl2/gen_builtin_test.py b/tests/glslparsertest/glsl2/gen_builtin_test.py
> index 2f4b901335fed5ec0b59..9b152ae07464a35f8555 100755
> --- a/tests/glslparsertest/glsl2/gen_builtin_test.py
> +++ b/tests/glslparsertest/glsl2/gen_builtin_test.py
> @@ -1,4 +1,5 @@
>  #!/usr/bin/env python
> +# coding=utf-8
>  
>  one_parameter_110 = [
>      "radians",
> diff --git a/tests/gtf_gl.py b/tests/gtf_gl.py
> index d219bd73fdc0e38c2a8b..a82f091d53fd0e37d401 100644
> --- a/tests/gtf_gl.py
> +++ b/tests/gtf_gl.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2018 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/tests/gtf_gles.py b/tests/gtf_gles.py
> index 0e0495d08f1cd6f460aa..ca91f14b6de2d996b7d8 100644
> --- a/tests/gtf_gles.py
> +++ b/tests/gtf_gles.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2018 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/tests/igt.py b/tests/igt.py
> index 5842810deef4f4239fc0..c3ec2e647819a95e69d1 100644
> --- a/tests/igt.py
> +++ b/tests/igt.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  #
>  # Copyright (c) 2012 Intel Corporation
>  #
> diff --git a/tests/khr_gl.py b/tests/khr_gl.py
> index 30e28b0453e9ad19c609..235ca7c8c62ad5304170 100644
> --- a/tests/khr_gl.py
> +++ b/tests/khr_gl.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2017 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/tests/khr_gl45.py b/tests/khr_gl45.py
> index 39341f390bfed85ebd22..cdb46833c13a28e49580 100644
> --- a/tests/khr_gl45.py
> +++ b/tests/khr_gl45.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2017 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/tests/khr_gles.py b/tests/khr_gles.py
> index 59a0fe089362f4d844b8..13cae08a2c1dfcd8ee34 100644
> --- a/tests/khr_gles.py
> +++ b/tests/khr_gles.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2017 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/tests/khr_noctx.py b/tests/khr_noctx.py
> index 4cba8130d3409178c7ee..04f0d30732320a045ea2 100644
> --- a/tests/khr_noctx.py
> +++ b/tests/khr_noctx.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2017 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/tests/oglconform.py b/tests/oglconform.py
> index 5104f442b37f0c64ffa3..2d81b6b2b1da9b2b8bb7 100644
> --- a/tests/oglconform.py
> +++ b/tests/oglconform.py
> @@ -1,4 +1,5 @@
>  #!/usr/bin/env python
> +# coding=utf-8
>  #
>  # Permission is hereby granted, free of charge, to any person
>  # obtaining a copy of this software and associated documentation
> diff --git a/tests/py_modules/constants.py b/tests/py_modules/constants.py
> index c9a7a41a0744660a1f40..40828ff1fe27e9b10328 100644
> --- a/tests/py_modules/constants.py
> +++ b/tests/py_modules/constants.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2015, 2016 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/tests/shader.py b/tests/shader.py
> index 3a43bcf931fc975cf9d8..14f21eef94f556321450 100644
> --- a/tests/shader.py
> +++ b/tests/shader.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  """A profile that runs only ShaderTest instances."""
>  
>  from __future__ import (
> diff --git a/tests/util/gen_dispatch.py b/tests/util/gen_dispatch.py
> index fbedca40d743a93d088a..44b04fd384ff987fa0a6 100644
> --- a/tests/util/gen_dispatch.py
> +++ b/tests/util/gen_dispatch.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright 2014 Intel Corporation
>  #
>  # Permission is hereby granted, free of charge, to any person obtaining a
> diff --git a/tests/xts-render.py b/tests/xts-render.py
> index d2cd843f293b83f549d1..02541232764b35d852f1 100644
> --- a/tests/xts-render.py
> +++ b/tests/xts-render.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2015 Broadcom
>  #
>  # Permission is hereby granted, free of charge, to any person obtaining a
> diff --git a/tests/xts.py b/tests/xts.py
> index 715ecfa47a94ddf900c8..8e9a685dcc1644afaf73 100644
> --- a/tests/xts.py
> +++ b/tests/xts.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2013-2014 Intel Corporation
>  #
>  # Permission is hereby granted, free of charge, to any person
> diff --git a/unittests/framework/backends/test_compression.py b/unittests/framework/backends/test_compression.py
> index f7b400c519a0e4fa8fb7..6d463ada4290c1740576 100644
> --- a/unittests/framework/backends/test_compression.py
> +++ b/unittests/framework/backends/test_compression.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2015-2016 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/unittests/framework/backends/test_json.py b/unittests/framework/backends/test_json.py
> index ccf44574771a4a18e546..2ee1e47ce6ec03661c59 100644
> --- a/unittests/framework/backends/test_json.py
> +++ b/unittests/framework/backends/test_json.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2014, 2016 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/unittests/framework/backends/test_json_update.py b/unittests/framework/backends/test_json_update.py
> index dca6f9d7722c66d4dc40..c832886aa140f3e875ec 100644
> --- a/unittests/framework/backends/test_json_update.py
> +++ b/unittests/framework/backends/test_json_update.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2014-2016 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/unittests/framework/backends/test_junit.py b/unittests/framework/backends/test_junit.py
> index 06892ca7364b0949a60d..260b2409914295c7c415 100644
> --- a/unittests/framework/backends/test_junit.py
> +++ b/unittests/framework/backends/test_junit.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2014, 2016 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/unittests/framework/backends/test_package.py b/unittests/framework/backends/test_package.py
> index d668899c1abe43b11bd6..08df6f0f431c1a2c5501 100644
> --- a/unittests/framework/backends/test_package.py
> +++ b/unittests/framework/backends/test_package.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2014, 2016 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/unittests/framework/summary/test_common.py b/unittests/framework/summary/test_common.py
> index e1f6801872494a7a8d8a..fd2a0f34d3edbe0cbde8 100644
> --- a/unittests/framework/summary/test_common.py
> +++ b/unittests/framework/summary/test_common.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2014, 2016 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/unittests/framework/summary/test_console.py b/unittests/framework/summary/test_console.py
> index 6e6ae8a7d713a3849ce1..ccc91e13787cea452e77 100644
> --- a/unittests/framework/summary/test_console.py
> +++ b/unittests/framework/summary/test_console.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2015-2016 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/unittests/framework/summary/test_html.py b/unittests/framework/summary/test_html.py
> index f645b411a367544be3b7..a9d192bfe1d89c1c2ddc 100644
> --- a/unittests/framework/summary/test_html.py
> +++ b/unittests/framework/summary/test_html.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2015 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/unittests/framework/test/test_base.py b/unittests/framework/test/test_base.py
> index ad355b1d8781182fbcc1..f8d0aa05170406848a9e 100644
> --- a/unittests/framework/test/test_base.py
> +++ b/unittests/framework/test/test_base.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2014, 2016 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/unittests/framework/test/test_deqp.py b/unittests/framework/test/test_deqp.py
> index 1c24ab3655bc6f01d86d..b7c1db4eb0af71d21d73 100644
> --- a/unittests/framework/test/test_deqp.py
> +++ b/unittests/framework/test/test_deqp.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2015-2016 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/unittests/framework/test/test_glsl_parser_test.py b/unittests/framework/test/test_glsl_parser_test.py
> index a81a1fdb7808e125b40b..1d4476932d81ed9bae50 100644
> --- a/unittests/framework/test/test_glsl_parser_test.py
> +++ b/unittests/framework/test/test_glsl_parser_test.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2014-2016 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/unittests/framework/test/test_gtest.py b/unittests/framework/test/test_gtest.py
> index 4ea2163dd49c604b78df..900402123736a9f8826d 100644
> --- a/unittests/framework/test/test_gtest.py
> +++ b/unittests/framework/test/test_gtest.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2014, 2016 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/unittests/framework/test/test_opencv.py b/unittests/framework/test/test_opencv.py
> index c804c0bae84e052cb622..83d017d83e94a917a228 100644
> --- a/unittests/framework/test/test_opencv.py
> +++ b/unittests/framework/test/test_opencv.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2014, 2016 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/unittests/framework/test/test_opengl.py b/unittests/framework/test/test_opengl.py
> index c17c4c099afca04f01a6..e051787c519777db7ae2 100644
> --- a/unittests/framework/test/test_opengl.py
> +++ b/unittests/framework/test/test_opengl.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2015-2016 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/unittests/framework/test/test_piglit_test.py b/unittests/framework/test/test_piglit_test.py
> index 9c769a6e419b3a4535df..fa906ca2d648d7e35714 100644
> --- a/unittests/framework/test/test_piglit_test.py
> +++ b/unittests/framework/test/test_piglit_test.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2014-2016 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/unittests/framework/test/test_shader_test.py b/unittests/framework/test/test_shader_test.py
> index 623088734aeb554e67c4..e9a12a40ec22f963a2b6 100644
> --- a/unittests/framework/test/test_shader_test.py
> +++ b/unittests/framework/test/test_shader_test.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2014, 2016 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/unittests/framework/test_core.py b/unittests/framework/test_core.py
> index 823e0d43ae0ac93b96de..2873582f5002472d6d92 100644
> --- a/unittests/framework/test_core.py
> +++ b/unittests/framework/test_core.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2014, 2016 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/unittests/framework/test_dmesg.py b/unittests/framework/test_dmesg.py
> index 6305315a8847502dbfc7..0ebb3ca20dc04197b67a 100644
> --- a/unittests/framework/test_dmesg.py
> +++ b/unittests/framework/test_dmesg.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2015-2016 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/unittests/framework/test_driver_classifier.py b/unittests/framework/test_driver_classifier.py
> index 4c208421ffa8368361b1..801a7ae4942bae1ddd05 100644
> --- a/unittests/framework/test_driver_classifier.py
> +++ b/unittests/framework/test_driver_classifier.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2016 Broadcom
>  #
>  # Permission is hereby granted, free of charge, to any person obtaining a
> diff --git a/unittests/framework/test_exceptions.py b/unittests/framework/test_exceptions.py
> index 08f87c993d3facd3dc51..a66294b69cf4ffffcc5d 100644
> --- a/unittests/framework/test_exceptions.py
> +++ b/unittests/framework/test_exceptions.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2015-2016 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/unittests/framework/test_log.py b/unittests/framework/test_log.py
> index e5b9fc9ee5c69e5cf26c..2f4b435c8f57908ef152 100644
> --- a/unittests/framework/test_log.py
> +++ b/unittests/framework/test_log.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2014, 2016 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/unittests/framework/test_monitoring.py b/unittests/framework/test_monitoring.py
> index 8627d9f7aeec96292290..dc820f2b6e5363ffbdda 100644
> --- a/unittests/framework/test_monitoring.py
> +++ b/unittests/framework/test_monitoring.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2016 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/unittests/framework/test_options.py b/unittests/framework/test_options.py
> index bf296c10c1f6b4db7369..4d070ab88715b83e137a 100644
> --- a/unittests/framework/test_options.py
> +++ b/unittests/framework/test_options.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2015-2016 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/unittests/framework/test_profile.py b/unittests/framework/test_profile.py
> index 714f7e05a213ca105c41..8f61b31c95a3d29db448 100644
> --- a/unittests/framework/test_profile.py
> +++ b/unittests/framework/test_profile.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2014, 2016 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/unittests/framework/test_wflinfo.py b/unittests/framework/test_wflinfo.py
> index bd2d936cca935c15c86e..73450670d948533fe1db 100644
> --- a/unittests/framework/test_wflinfo.py
> +++ b/unittests/framework/test_wflinfo.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2015-2016 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/unittests/generators/test_generators.py b/unittests/generators/test_generators.py
> index ccb57e725270bbf55a14..e2a7c7fd497a6ba131bc 100644
> --- a/unittests/generators/test_generators.py
> +++ b/unittests/generators/test_generators.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2015-2016 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/unittests/suites/test_integration.py b/unittests/suites/test_integration.py
> index ce8876196c1e265f0571..f7a479127a232cbebd44 100644
> --- a/unittests/suites/test_integration.py
> +++ b/unittests/suites/test_integration.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2014, 2016 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/unittests/suites/test_native.py b/unittests/suites/test_native.py
> index 6055bf664f73e321f85e..35175983174ce4531c41 100644
> --- a/unittests/suites/test_native.py
> +++ b/unittests/suites/test_native.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2014 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> diff --git a/unittests/suites/test_oglconform.py b/unittests/suites/test_oglconform.py
> index 6e6b690d5cf4822d7c99..2cce1796cfe5242ca23d 100644
> --- a/unittests/suites/test_oglconform.py
> +++ b/unittests/suites/test_oglconform.py
> @@ -1,3 +1,4 @@
> +# coding=utf-8
>  # Copyright (c) 2015-2016 Intel Corporation
>  
>  # Permission is hereby granted, free of charge, to any person obtaining a copy
> -- 
> Cheers,
>   Eric
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: signature
URL: <https://lists.freedesktop.org/archives/piglit/attachments/20181108/1ddc76f5/attachment-0001.sig>


More information about the Piglit mailing list