commit 8516856919981033245356c13e1c1ebd32c475301440ab27438641cf684b2aab Author: Martin Pluskal Date: Tue Jan 24 19:59:06 2017 +0000 Accepting request 452270 from home:mimi_vx:piglit Piglit - X, DRM, GL, EGL testsuite OBS-URL: https://build.opensuse.org/request/show/452270 OBS-URL: https://build.opensuse.org/package/show/benchmark/piglit?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..5b930e5 --- /dev/null +++ b/_service @@ -0,0 +1,15 @@ + + + https://anongit.freedesktop.org/git/piglit.git + git + enable + piglit + master + 1~%cd.%h + + + *.tar + xz + + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..cbe05ce --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://anongit.freedesktop.org/git/piglit.git + 9123cb73c1bf2cc3ef1f0c69e1cd59bc545e9023 \ No newline at end of file diff --git a/opensuse_qa-skip-tests.txt b/opensuse_qa-skip-tests.txt new file mode 100644 index 0000000..473a0f4 diff --git a/opensuse_qa.py b/opensuse_qa.py new file mode 100644 index 0000000..aff5702 --- /dev/null +++ b/opensuse_qa.py @@ -0,0 +1,19 @@ +# -*- coding: utf-8 -*- + +# quick.tests minus tests that are known to fail + +from __future__ import ( + absolute_import, division, print_function, unicode_literals +) + +from tests.quick import profile as _profile +from framework.test import GLSLParserTest + +__all__ = ['profile'] + +profile = _profile.copy() # pylint: disable=invalid-name + +with open("/usr/lib64/piglit/tests/opensuse_qa-skip-tests.txt") as f: + to_skip = frozenset(map(lambda line: line[:-1], f)) + + profile.filters.append(lambda p, _: p not in to_skip) diff --git a/piglit-1~20170120.9123cb73c.tar.xz b/piglit-1~20170120.9123cb73c.tar.xz new file mode 100644 index 0000000..c25ae1d --- /dev/null +++ b/piglit-1~20170120.9123cb73c.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:df4e9a30f8ccdc59675681cb720e95751f86369098a542c1e3a13b90bddcebbb +size 7624496 diff --git a/piglit-rpmlintrc b/piglit-rpmlintrc new file mode 100644 index 0000000..69e8800 --- /dev/null +++ b/piglit-rpmlintrc @@ -0,0 +1,2 @@ +from Config import * +addFilter("devel-file-in-non-devel-package") \ No newline at end of file diff --git a/piglit.changes b/piglit.changes new file mode 100644 index 0000000..23cad4d --- /dev/null +++ b/piglit.changes @@ -0,0 +1,34 @@ +------------------------------------------------------------------- +Mon Jan 23 10:18:06 UTC 2017 - mimi.vx@gmail.com + +- Update to version 1~20170120.9123cb73c: + * Test multiple inout parameters with indirect array indexing + * Test multiple inout parameters with arrays of arrays + +------------------------------------------------------------------- +Fri Jan 20 12:36:28 UTC 2017 - mimi.vx@gmail.com + +- Update to version 1~20170119.9861294a9: + * unittests: Add new python generator to unittests + * CI: Add python 3.6 to build matrix + +------------------------------------------------------------------- +Thu Jan 19 16:20:57 UTC 2017 - mimi.vx@gmail.com + +- Update to version 1~20170119.1004a07bb: + * egl_khr_gl_image: Add test that clears a shared image + * glsl-1.10: test min max optimisation pass + * glsl-1.10: another test for min max optimisation pass + * deqp: Search stdout and stderr for X connection failure + * Add GL_INTEL_conservative_rasterization tests + * generated_tests: new compiler tests for INTEL_conservative_rasterization + * resume: use the previously-set test-list when resuming + * shader_runner: Fix MSVC build error. + * arb_texture_view: Fix MSVC build. + * PNG files, write mode correction + +------------------------------------------------------------------- +Mon Jul 11 10:49:11 UTC 2016 - msrb@suse.com + +- Update to latest version. + diff --git a/piglit.spec b/piglit.spec new file mode 100644 index 0000000..80e15a3 --- /dev/null +++ b/piglit.spec @@ -0,0 +1,111 @@ +# +# spec file for package piglit +# +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: piglit +Version: 1~20170120.9123cb73c +Release: 0 +Summary: OpenGL driver testing framework +License: MIT +Group: System/Benchmark +Url: http://cgit.freedesktop.org/piglit +Source0: %{name}-%{version}.tar.xz +Source1: piglit-rpmlintrc +Source2: suse_qa.py +Source3: suse_qa-skip-tests.txt +Source4: opensuse_qa.py +Source5: opensuse_qa-skip-tests.txt +BuildRequires: cmake +BuildRequires: fdupes +BuildRequires: gcc-c++ +BuildRequires: glibc-devel +BuildRequires: pkgconfig +BuildRequires: python3 +BuildRequires: python3-Mako +BuildRequires: python3-numpy +BuildRequires: python3-six +BuildRequires: python3-xml +BuildRequires: waffle-devel +BuildRequires: pkgconfig(egl) +BuildRequires: pkgconfig(gl) +BuildRequires: pkgconfig(glproto) +BuildRequires: pkgconfig(glu) +BuildRequires: pkgconfig(libdrm) +BuildRequires: pkgconfig(libdrm_intel) +BuildRequires: pkgconfig(libpng) +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(xcb) +BuildRequires: pkgconfig(xcb-dri2) +BuildRequires: pkgconfig(xcb-dri3) +Requires: python3 +Requires: python3-Mako +Requires: python3-numpy +Requires: python3-six +Requires: python3-xml +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +OpenGL driver testing framework + The goal of Piglit is to help improve the quality of open source + OpenGL drivers by providing developers with a simple means to perform + regression tests. + . + It contains the Glean tests, some tests adapted from Mesa as well as + some specific regression tests for certain bugs. HTML summaries can + be generated, including the ability to compare different test runs. + +%prep +%setup -q + +%build +# FIXME: you should use %%cmake macros +# Note: Using the cmake rpm macro to get good defaults for installation +# directories, CFLAGS etc. Some changes on top: +# Note: Overwriting CMAKE_SHARED_LINKER_FLAGS with those from the cmake macro, +# but leaving out -Wl,--no-undefined +# Note: Overwriting CMAKE_SKIP_RPATH to be off, but enabling +# CMAKE_BUILD_WITH_INSTALL_RPATH so the individual test binaries in +# /usr/lib64/piglit/bin/* can find the libraries in /usr/lib64/piglit/lib +%cmake -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now" \ + -DCMAKE_SKIP_RPATH:BOOL=OFF -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON + +# Test: Disabled smp flags to try to prevent out of memory on i586 build machines in buildservice. +%ifarch %{ix86} +make %{?_smp_mflags} +%else +make %{?_smp_mflags} +%endif + +%install +%cmake_install + +install -D -m 644 %{SOURCE2} %{buildroot}%{_libdir}/piglit/tests +install -D -m 644 %{SOURCE3} %{buildroot}%{_libdir}/piglit/tests +install -D -m 644 %{SOURCE4} %{buildroot}%{_libdir}/piglit/tests +install -D -m 644 %{SOURCE4} %{buildroot}%{_libdir}/piglit/tests +%fdupes %{buildroot}/%{_libdir}/piglit + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/piglit +%{_bindir}/piglit +%doc %{_datadir}/doc/piglit + +%changelog diff --git a/suse_qa-skip-tests.txt b/suse_qa-skip-tests.txt new file mode 100644 index 0000000..473a0f4 diff --git a/suse_qa.py b/suse_qa.py new file mode 100644 index 0000000..5bb8c59 --- /dev/null +++ b/suse_qa.py @@ -0,0 +1,19 @@ +# -*- coding: utf-8 -*- + +# quick.tests minus tests that are known to fail + +from __future__ import ( + absolute_import, division, print_function, unicode_literals +) + +from tests.quick import profile as _profile +from framework.test import GLSLParserTest + +__all__ = ['profile'] + +profile = _profile.copy() # pylint: disable=invalid-name + +with open("/usr/lib64/piglit/tests/suse_qa-skip-tests.txt") as f: + to_skip = frozenset(map(lambda line: line[:-1], f)) + + profile.filters.append(lambda p, _: p not in to_skip)