diff options
author | Tero Alamäki <tero.alamaki@qt.io> | 2017-05-15 08:33:52 +0300 |
---|---|---|
committer | Tero Alamaki <tero.alamaki@qt.io> | 2017-05-29 09:46:40 +0000 |
commit | b418c763960782ba3a26a6612365eb446a4717d4 (patch) | |
tree | 8a17a5a9ba878f51d884f32e574862de9da41977 | |
parent | c49c559abeab827f668ce5eb1e29d841cc64abb5 (diff) |
Add INTEGRITY framebuffer test to configure
Change-Id: I606da783ef9959448a89a7a616ab197820194977
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
-rw-r--r-- | config.tests/qpa/integrityfb/integrityfb.cpp | 46 | ||||
-rw-r--r-- | config.tests/qpa/integrityfb/integrityfb.pro | 3 | ||||
-rw-r--r-- | src/gui/configure.json | 7 |
3 files changed, 55 insertions, 1 deletions
diff --git a/config.tests/qpa/integrityfb/integrityfb.cpp b/config.tests/qpa/integrityfb/integrityfb.cpp new file mode 100644 index 0000000000..7f2dd0705f --- /dev/null +++ b/config.tests/qpa/integrityfb/integrityfb.cpp @@ -0,0 +1,46 @@ +/**************************************************************************** +** +** Copyright (C) 2017 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the config.tests of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +#include <device/fbdriver.h> + +int main(int, char **) +{ + FBDriver *driver = 0; + return 0; +} diff --git a/config.tests/qpa/integrityfb/integrityfb.pro b/config.tests/qpa/integrityfb/integrityfb.pro new file mode 100644 index 0000000000..5da4e77923 --- /dev/null +++ b/config.tests/qpa/integrityfb/integrityfb.pro @@ -0,0 +1,3 @@ +SOURCES = integrityfb.cpp + +CONFIG -= qt diff --git a/src/gui/configure.json b/src/gui/configure.json index 9db0eb0327..cbf2315af4 100644 --- a/src/gui/configure.json +++ b/src/gui/configure.json @@ -363,6 +363,11 @@ "type": "compile", "test": "unix/evdev" }, + "integrityfb": { + "label": "INTEGRITY framebuffer", + "type": "compile", + "test": "qpa/integrityfb" + }, "libinput_axis_api": { "label": "axis API in libinput", "type": "compile", @@ -510,7 +515,7 @@ "integrityfb": { "label": "INTEGRITY framebuffer", "section": "Platform plugins", - "condition": "config.integrity", + "condition": "config.integrity && tests.integrityfb", "output": [ "privateFeature" ] }, "kms": { |