summaryrefslogtreecommitdiffstats
path: root/config.tests
diff options
context:
space:
mode:
authorJanne Partala <janne.partala@bitfactor.fi>2015-06-04 16:22:39 +0300
committerJanne Heikki Partala <janne.partala@bitfactor.fi>2015-06-19 14:41:21 +0000
commitccb985e9d0564eaf97e676d4691273ca2ea2a695 (patch)
tree2816feeffafe25d46606b15aa5c32578c8b9b0df /config.tests
parent27cbd766cea44f66e167ca6aca69f62297f7fa91 (diff)
Initial commit for QtSerialBus
Change-Id: I314502cd1e95ecbd3ad5bcf63a7a81e0e1b415d4 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'config.tests')
-rw-r--r--config.tests/socketcan/main.cpp44
-rw-r--r--config.tests/socketcan/socketcan.pro4
-rw-r--r--config.tests/socketcan_fd/main.cpp44
-rw-r--r--config.tests/socketcan_fd/socketcan_fd.pro4
4 files changed, 96 insertions, 0 deletions
diff --git a/config.tests/socketcan/main.cpp b/config.tests/socketcan/main.cpp
new file mode 100644
index 0000000..b620d42
--- /dev/null
+++ b/config.tests/socketcan/main.cpp
@@ -0,0 +1,44 @@
+/****************************************************************************
+**
+** Copyright (C) 2015 The Qt Company Ltd.
+** Contact: http://www.qt.io/licensing/
+**
+** This file is part of the QtSerialBus module 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 http://www.qt.io/terms-conditions. For further
+** information use the contact form at http://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.LGPLv3 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.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 later as published by the Free
+** Software Foundation and appearing in the file LICENSE.GPL included in
+** the packaging of this file. Please review the following information to
+** ensure the GNU General Public License version 2.0 requirements will be
+** met: http://www.gnu.org/licenses/gpl-2.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+#include <linux/can.h>
+#include <linux/can/raw.h>
+
+int main()
+{
+ can_frame frame;
+ return 0;
+}
+
diff --git a/config.tests/socketcan/socketcan.pro b/config.tests/socketcan/socketcan.pro
new file mode 100644
index 0000000..104ea1e
--- /dev/null
+++ b/config.tests/socketcan/socketcan.pro
@@ -0,0 +1,4 @@
+TEMPLATE = app
+
+SOURCES += main.cpp
+
diff --git a/config.tests/socketcan_fd/main.cpp b/config.tests/socketcan_fd/main.cpp
new file mode 100644
index 0000000..71d0cae
--- /dev/null
+++ b/config.tests/socketcan_fd/main.cpp
@@ -0,0 +1,44 @@
+/****************************************************************************
+**
+** Copyright (C) 2015 The Qt Company Ltd.
+** Contact: http://www.qt.io/licensing/
+**
+** This file is part of the QtSerialBus module 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 http://www.qt.io/terms-conditions. For further
+** information use the contact form at http://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.LGPLv3 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.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 later as published by the Free
+** Software Foundation and appearing in the file LICENSE.GPL included in
+** the packaging of this file. Please review the following information to
+** ensure the GNU General Public License version 2.0 requirements will be
+** met: http://www.gnu.org/licenses/gpl-2.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+#include <linux/can.h>
+#include <linux/can/raw.h>
+
+int main()
+{
+ canfd_frame frame;
+ return 0;
+}
+
diff --git a/config.tests/socketcan_fd/socketcan_fd.pro b/config.tests/socketcan_fd/socketcan_fd.pro
new file mode 100644
index 0000000..104ea1e
--- /dev/null
+++ b/config.tests/socketcan_fd/socketcan_fd.pro
@@ -0,0 +1,4 @@
+TEMPLATE = app
+
+SOURCES += main.cpp
+