diff --git a/opensuse_qa.py b/opensuse_qa.py index aff5702..883240f 100644 --- a/opensuse_qa.py +++ b/opensuse_qa.py @@ -6,12 +6,11 @@ from __future__ import ( absolute_import, division, print_function, unicode_literals ) -from tests.quick import profile as _profile -from framework.test import GLSLParserTest +from framework.profile import load_test_profile __all__ = ['profile'] -profile = _profile.copy() # pylint: disable=invalid-name +profile = load_test_profile('quick') with open("/usr/lib64/piglit/tests/opensuse_qa-skip-tests.txt") as f: to_skip = frozenset(map(lambda line: line[:-1], f)) diff --git a/piglit.changes b/piglit.changes index 94eaf16..a599919 100644 --- a/piglit.changes +++ b/piglit.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Aug 30 08:27:10 UTC 2018 - msrb@suse.com + +- Update suse_qa.py and opensuse_qa.py to work with current piglit. + ------------------------------------------------------------------- Wed Aug 29 08:13:34 UTC 2018 - Ondřej Súkup diff --git a/suse_qa.py b/suse_qa.py index 5bb8c59..311ddbb 100644 --- a/suse_qa.py +++ b/suse_qa.py @@ -6,12 +6,11 @@ from __future__ import ( absolute_import, division, print_function, unicode_literals ) -from tests.quick import profile as _profile -from framework.test import GLSLParserTest +from framework.profile import load_test_profile __all__ = ['profile'] -profile = _profile.copy() # pylint: disable=invalid-name +profile = load_test_profile('quick') with open("/usr/lib64/piglit/tests/suse_qa-skip-tests.txt") as f: to_skip = frozenset(map(lambda line: line[:-1], f))