diff options
author | Karsten Heimrich <karsten.heimrich@theqtcompany.com> | 2015-10-28 12:34:47 +0100 |
---|---|---|
committer | Alex Blasche <alexander.blasche@theqtcompany.com> | 2015-10-28 12:40:58 +0000 |
commit | 2602d2e9ad77fd483a1cb0b3ceda55e748ad6839 (patch) | |
tree | c9c622e9835f83c9127211e25f66e104c1f6073e /config.tests | |
parent | a4eced697c52108d6df09f96035e3123ec8a8406 (diff) |
Remove 3rdparty libmodbus and cleanup depending code usage.
Change-Id: I3177a315c43d71bde35b8291aed9332c72d1d8d9
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'config.tests')
-rw-r--r-- | config.tests/libmodbus_accept4/libmodbus_accept4.pro | 3 | ||||
-rw-r--r-- | config.tests/libmodbus_accept4/main.cpp | 44 | ||||
-rw-r--r-- | config.tests/libmodbus_byteswap/libmodbus_byteswap.pro | 3 | ||||
-rw-r--r-- | config.tests/libmodbus_byteswap/main.cpp | 41 | ||||
-rw-r--r-- | config.tests/libmodbus_rs485/libmodbus_rs485.pro | 3 | ||||
-rw-r--r-- | config.tests/libmodbus_rs485/main.cpp | 44 | ||||
-rw-r--r-- | config.tests/libmodbus_strlcpy/libmodbus_strlcpy.pro | 3 | ||||
-rw-r--r-- | config.tests/libmodbus_strlcpy/main.cpp | 42 | ||||
-rw-r--r-- | config.tests/libmodbus_systemlib/libmodbus_systemlib.pro | 6 | ||||
-rw-r--r-- | config.tests/libmodbus_systemlib/main.cpp | 40 | ||||
-rw-r--r-- | config.tests/libmodbus_tiocmrts/libmodbus_tiocmrts.pro | 3 | ||||
-rw-r--r-- | config.tests/libmodbus_tiocmrts/main.cpp | 44 |
12 files changed, 0 insertions, 276 deletions
diff --git a/config.tests/libmodbus_accept4/libmodbus_accept4.pro b/config.tests/libmodbus_accept4/libmodbus_accept4.pro deleted file mode 100644 index 9f0da76..0000000 --- a/config.tests/libmodbus_accept4/libmodbus_accept4.pro +++ /dev/null @@ -1,3 +0,0 @@ -TEMPLATE = app - -SOURCES += main.cpp diff --git a/config.tests/libmodbus_accept4/main.cpp b/config.tests/libmodbus_accept4/main.cpp deleted file mode 100644 index 89fb8f4..0000000 --- a/config.tests/libmodbus_accept4/main.cpp +++ /dev/null @@ -1,44 +0,0 @@ -/**************************************************************************** -** -** 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:LGPL3$ -** 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 <sys/types.h> -#include <sys/socket.h> - -int main() -{ - socklen_t length = 0; - accept4(1, 0, &length, SOCK_CLOEXEC); - return 0; -} diff --git a/config.tests/libmodbus_byteswap/libmodbus_byteswap.pro b/config.tests/libmodbus_byteswap/libmodbus_byteswap.pro deleted file mode 100644 index 9f0da76..0000000 --- a/config.tests/libmodbus_byteswap/libmodbus_byteswap.pro +++ /dev/null @@ -1,3 +0,0 @@ -TEMPLATE = app - -SOURCES += main.cpp diff --git a/config.tests/libmodbus_byteswap/main.cpp b/config.tests/libmodbus_byteswap/main.cpp deleted file mode 100644 index 2a35e8b..0000000 --- a/config.tests/libmodbus_byteswap/main.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/**************************************************************************** -** -** 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:LGPL3$ -** 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 <byteswap.h> - -int main() -{ - return 0; -} diff --git a/config.tests/libmodbus_rs485/libmodbus_rs485.pro b/config.tests/libmodbus_rs485/libmodbus_rs485.pro deleted file mode 100644 index 9f0da76..0000000 --- a/config.tests/libmodbus_rs485/libmodbus_rs485.pro +++ /dev/null @@ -1,3 +0,0 @@ -TEMPLATE = app - -SOURCES += main.cpp diff --git a/config.tests/libmodbus_rs485/main.cpp b/config.tests/libmodbus_rs485/main.cpp deleted file mode 100644 index 53cb3df..0000000 --- a/config.tests/libmodbus_rs485/main.cpp +++ /dev/null @@ -1,44 +0,0 @@ -/**************************************************************************** -** -** 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:LGPL3$ -** 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 <sys/ioctl.h> - -int main() -{ -#ifndef TIOCSRS485 -#error choke here -#endif - return 0; -} diff --git a/config.tests/libmodbus_strlcpy/libmodbus_strlcpy.pro b/config.tests/libmodbus_strlcpy/libmodbus_strlcpy.pro deleted file mode 100644 index 9f0da76..0000000 --- a/config.tests/libmodbus_strlcpy/libmodbus_strlcpy.pro +++ /dev/null @@ -1,3 +0,0 @@ -TEMPLATE = app - -SOURCES += main.cpp diff --git a/config.tests/libmodbus_strlcpy/main.cpp b/config.tests/libmodbus_strlcpy/main.cpp deleted file mode 100644 index 8ab25b6..0000000 --- a/config.tests/libmodbus_strlcpy/main.cpp +++ /dev/null @@ -1,42 +0,0 @@ -/**************************************************************************** -** -** 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:LGPL3$ -** 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 <string.h> - -int main() -{ - strlcpy(0, 0, 0); - return 0; -} diff --git a/config.tests/libmodbus_systemlib/libmodbus_systemlib.pro b/config.tests/libmodbus_systemlib/libmodbus_systemlib.pro deleted file mode 100644 index 9af89b9..0000000 --- a/config.tests/libmodbus_systemlib/libmodbus_systemlib.pro +++ /dev/null @@ -1,6 +0,0 @@ -TEMPLATE = app - -CONFIG += link_pkgconfig -PKGCONFIG += libmodbus - -SOURCES += main.cpp diff --git a/config.tests/libmodbus_systemlib/main.cpp b/config.tests/libmodbus_systemlib/main.cpp deleted file mode 100644 index 2677a19..0000000 --- a/config.tests/libmodbus_systemlib/main.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/**************************************************************************** -** -** 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:LGPL3$ -** 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$ -** -****************************************************************************/ - -int main() -{ - return 0; -} diff --git a/config.tests/libmodbus_tiocmrts/libmodbus_tiocmrts.pro b/config.tests/libmodbus_tiocmrts/libmodbus_tiocmrts.pro deleted file mode 100644 index 9f0da76..0000000 --- a/config.tests/libmodbus_tiocmrts/libmodbus_tiocmrts.pro +++ /dev/null @@ -1,3 +0,0 @@ -TEMPLATE = app - -SOURCES += main.cpp diff --git a/config.tests/libmodbus_tiocmrts/main.cpp b/config.tests/libmodbus_tiocmrts/main.cpp deleted file mode 100644 index 51c9e53..0000000 --- a/config.tests/libmodbus_tiocmrts/main.cpp +++ /dev/null @@ -1,44 +0,0 @@ -/**************************************************************************** -** -** 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:LGPL3$ -** 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 <sys/ioctl.h> - -int main() -{ -#ifndef TIOCM_RTS -#error choke here -#endif - return 0; -} |