summaryrefslogtreecommitdiffstats
path: root/config.tests
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@theqtcompany.com>2016-05-10 12:00:39 +0200
committerAndy Nichols <andy.nichols@qt.io>2016-05-15 17:46:37 +0000
commitc5c7997fc22cf914f72179d813ad6a41506e0293 (patch)
treeb4a5ef5ab5c6b6a3aa16edc9c112c97271f289cc /config.tests
parent28fab275033a6b4f8d6e78da0f729837144b0420 (diff)
eglfs-viv: Fix config test
fbGetDisplay() expects a context pointer, but the config test was calling this function without any arguments, causing the test to fail even when the Vivante EGLFS device integration is actually supported. This got broken in 5.7 by the INTEGRITY changes in 9b35b0e8dc6069aed563d0aca61c973eb307d772. Task-number: QTBUG-53282 Change-Id: I233d93618b1c8a31d12b31139d3bfbd3d6429839 Done-with: Carlos Rafael Giani <dv@pseudoterminal.org> Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'config.tests')
-rw-r--r--config.tests/qpa/eglfs-viv/eglfs-viv.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/config.tests/qpa/eglfs-viv/eglfs-viv.cpp b/config.tests/qpa/eglfs-viv/eglfs-viv.cpp
index a41c482b67..96935a2aa0 100644
--- a/config.tests/qpa/eglfs-viv/eglfs-viv.cpp
+++ b/config.tests/qpa/eglfs-viv/eglfs-viv.cpp
@@ -43,6 +43,8 @@
int main(int, char **)
{
- fbGetDisplay();
+ // Do not rely on fbGetDisplay() since the signature has changed over time.
+ // Stick to fbGetDisplayByIndex().
+ fbGetDisplayByIndex(0);
return 0;
}