[Piglit] [Bug 107184] New: SyntaxError: Non-ASCII character '\xc2' in file tests/sanity.py on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jul 11 00:19:25 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=107184

            Bug ID: 107184
           Summary: SyntaxError: Non-ASCII character '\xc2' in file
                    tests/sanity.py on line 1, but no encoding declared;
                    see http://python.org/dev/peps/pep-0263/ for details
           Product: piglit
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: All
            Status: NEW
          Keywords: bisected, regression
          Severity: normal
          Priority: medium
         Component: infrastructure
          Assignee: baker.dylan.c at gmail.com
          Reporter: vlee at freedesktop.org
        QA Contact: piglit at lists.freedesktop.org
                CC: baker.dylan.c at gmail.com, jljusten at gmail.com

Traceback (most recent call last):
  File "tests/serializer.py", line 151, in <module>
    main()
  File "tests/serializer.py", line 146, in main
    profile = load_test_profile(args.input, python=True)
  File "tests/../framework/profile.py", line 585, in load_test_profile
    mod = importlib.import_module('tests.{0}'.format(name))
  File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/__init__.py",
line 37, in import_module
    __import__(name)
  File "tests/sanity.py", line 1
SyntaxError: Non-ASCII character '\xc2' in file tests/sanity.py on line 1, but
no encoding declared; see http://python.org/dev/peps/pep-0263/ for details


commit 8f0a5ed2140a535efde9f8f3e1f313e8094f23e8
Author: Dylan Baker <dylan at pnwbakers.com>
Date:   Tue Jul 3 10:07:14 2018 -0700

    tests/sanity: Rework sanity to be more useful

    Originally sanity was billed as a sort of "check if the installation
    works" sort of profile. No one seems to use sanity at all, so we'd like
    to re-purpose it (a little) to be a sort of "driver sanity" check, in
    other words, a minimal number of tests that are able to touch a broad
    swath of OpenGL features.

    Some of the things this touches now:
     - vertex shaders
     - fragment shaders
     - geometry shaders
     - tesselation shaders
     - compute shaders
     - transform feedback
     - ssbos
     - atomics

    Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/piglit/attachments/20180711/6acca128/attachment-0001.html>


More information about the Piglit mailing list