On 12/17/2016 03:58 AM, Chad Versace wrote:
Happy Christmas to everyone who's busy squashing dEQP bugs.
I wrote a new GBM backend for dEQP. I even submitted it to dEQP's
upstream Gerrit. Pyry, dEQP's maintainer, told me over beer earlier
this year that he would accept it if I submitted it, and if it wasn't
too crazy. So, maybe it'll be upstream soon.
If you want to try it out, you can either fetch the patch from Gerrit:
$ git fetch https://android.googlesource.com/platform/external/deqp
refs/changes/43/315743/1
View it on Gerrit:
https://android-review.googlesource.com/#/c/315743/
Fetch from personal my work-in-progress branch:
$ git fetch git://git.kiwitree.net/~chadv/deqp refs/heads/wip/gbm
View it on my cgit:
http://git.kiwitree.net/cgit/~chadv/deqp/log/?h=wip/gbm
GBM today does not support pixmaps nor pbuffers (eglCreatePixmapSurface
and eglCreatePbufferSurface), so the dEQP test coverage with GBM does
not have parity with X11. But, on the other hand, you get to run dEQP
without the headache of X11.
There's probably bugs. No surprises there.
Branch did not work 'out of the box' for me:
"No rule to make target 'framework/qphelper/.git/index', needed by
'framework/qphelper/qpReleaseInfo.inl'. Stop."
(attached patch makes it work for me)
What prompted my painful misadventures into dEQP's circus of abstract
factory registries?
- Some dEQP tests intermittently fail on X11, most likely due to
dEQP's misuse of multi-threaded Xlib. See
<https://bugs.freedesktop.org/show_bug.cgi?id=98331>.
On the new GBM backend, the test results are consistent. They
consistently fail ;)
- Some tests run much faster without the overhead of X11.
The dEQP-EGL.functional.negative_api.* tests run almost instantly.
- Intel's Jenkins prefers headless testing over X11.
One issue is that real users will use X11, Wayland or Android. Would be
cool to have a 'switch' to toggle CI to use a particular backend so that
most of the time we would run against gbm but then sometimes check that
X11 still works etc.
// Tapani
>From 22e7a45eb9f3707ef902d17802de79ba9924cdf0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tapani=20P=C3=A4lli?= <tapani.pa...@intel.com>
Date: Mon, 19 Dec 2016 09:38:23 +0200
Subject: [PATCH] append ${CMAKE_SOURCE_DIR} to ${DE_GIT_DIR}
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This fixes issues for me as now we use absolute path for setting
the dependency and dir is found.
Signed-off-by: Tapani Pälli <tapani.pa...@intel.com>
---
framework/qphelper/CMakeLists.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/framework/qphelper/CMakeLists.txt b/framework/qphelper/CMakeLists.txt
index 8f38ee9..eeac439 100644
--- a/framework/qphelper/CMakeLists.txt
+++ b/framework/qphelper/CMakeLists.txt
@@ -54,8 +54,8 @@ elseif (EXISTS "${CMAKE_SOURCE_DIR}/.git")
OUTPUT_VARIABLE DE_GIT_DIR
OUTPUT_STRIP_TRAILING_WHITESPACE)
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/qpReleaseInfo.inl
- COMMAND ${PYTHON_EXECUTABLE} -B ${CMAKE_CURRENT_SOURCE_DIR}/gen_release_info.py --git --git-dir="${DE_GIT_DIR}" --out=${CMAKE_CURRENT_BINARY_DIR}/qpReleaseInfo.inl
- DEPENDS gen_release_info.py ${DE_GIT_DIR}/HEAD ${DE_GIT_DIR}/index) # \note HEAD updated only when changing branches
+ COMMAND ${PYTHON_EXECUTABLE} -B ${CMAKE_CURRENT_SOURCE_DIR}/gen_release_info.py --git --git-dir="${CMAKE_SOURCE_DIR}/${DE_GIT_DIR}" --out=${CMAKE_CURRENT_BINARY_DIR}/qpReleaseInfo.inl
+ DEPENDS gen_release_info.py ${CMAKE_SOURCE_DIR}/${DE_GIT_DIR}/HEAD ${CMAKE_SOURCE_DIR}/${DE_GIT_DIR}/index) # \note HEAD updated only when changing branches
add_custom_target(git-rel-info DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/qpReleaseInfo.inl)
add_dependencies(qphelper git-rel-info)
include_directories(${CMAKE_CURRENT_BINARY_DIR})
--
2.9.3
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev