summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLucie Gérard <lucie.gerard@qt.io>2022-07-05 15:05:56 +0200
committerLucie Gérard <lucie.gerard@qt.io>2022-07-08 11:58:18 +0200
commiteb18e2af46f38e78ff63646e80ae13c1a4f653eb (patch)
treeebc1749ef55d941905abf727629402d914d0dce3 /tests
parentb37effa83aecd4e32199f6249e186fa7f344bc2d (diff)
Add license headers to cmake files
CMakeLists.txt and .cmake files of significant size (more than 2 lines according to our check in tst_license.pl) now have the copyright and license header. Existing copyright statements remain intact Task-number: QTBUG-88621 Change-Id: Ic31d264037cb00d72436d585820e45e4ccac5c60 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt3
-rw-r--r--tests/auto/CMakeLists.txt3
-rw-r--r--tests/auto/cmake/CMakeLists.txt3
-rw-r--r--tests/auto/qbluetoothaddress/CMakeLists.txt3
-rw-r--r--tests/auto/qbluetoothdevicediscoveryagent/CMakeLists.txt3
-rw-r--r--tests/auto/qbluetoothdeviceinfo/CMakeLists.txt3
-rw-r--r--tests/auto/qbluetoothhostinfo/CMakeLists.txt3
-rw-r--r--tests/auto/qbluetoothlocaldevice/CMakeLists.txt3
-rw-r--r--tests/auto/qbluetoothserver/CMakeLists.txt3
-rw-r--r--tests/auto/qbluetoothservicediscoveryagent/CMakeLists.txt3
-rw-r--r--tests/auto/qbluetoothserviceinfo/CMakeLists.txt3
-rw-r--r--tests/auto/qbluetoothsocket/CMakeLists.txt3
-rw-r--r--tests/auto/qbluetoothuuid/CMakeLists.txt3
-rw-r--r--tests/auto/qlowenergycharacteristic/CMakeLists.txt3
-rw-r--r--tests/auto/qlowenergycontroller-gattserver/server/CMakeLists.txt3
-rw-r--r--tests/auto/qlowenergycontroller-gattserver/test/CMakeLists.txt3
-rw-r--r--tests/auto/qlowenergycontroller/CMakeLists.txt3
-rw-r--r--tests/auto/qlowenergydescriptor/CMakeLists.txt3
-rw-r--r--tests/auto/qlowenergyservice/CMakeLists.txt3
-rw-r--r--tests/auto/qndeffilter/CMakeLists.txt3
-rw-r--r--tests/auto/qndefmessage/CMakeLists.txt3
-rw-r--r--tests/auto/qndefnfcsmartposterrecord/CMakeLists.txt3
-rw-r--r--tests/auto/qndefrecord/CMakeLists.txt3
-rw-r--r--tests/auto/qnearfieldmanager/CMakeLists.txt3
-rw-r--r--tests/auto/qnearfieldtagtype1/CMakeLists.txt3
-rw-r--r--tests/auto/qnearfieldtagtype2/CMakeLists.txt3
-rw-r--r--tests/bluetoothtestdevice/CMakeLists.txt3
-rw-r--r--tests/bttestui/CMakeLists.txt3
-rw-r--r--tests/manual/CMakeLists.txt3
-rw-r--r--tests/manual/qlowenergycontroller/CMakeLists.txt3
30 files changed, 90 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 4e7d7c2e..6762833d 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
if(QT_BUILD_STANDALONE_TESTS)
# Add qt_find_package calls for extra dependencies that need to be found when building
# the standalone tests here.
diff --git a/tests/auto/CMakeLists.txt b/tests/auto/CMakeLists.txt
index 96222438..d5b566e9 100644
--- a/tests/auto/CMakeLists.txt
+++ b/tests/auto/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
if(TARGET Qt::Bluetooth)
add_subdirectory(qbluetoothaddress)
add_subdirectory(qbluetoothdevicediscoveryagent)
diff --git a/tests/auto/cmake/CMakeLists.txt b/tests/auto/cmake/CMakeLists.txt
index 786e9c9f..2ad75f67 100644
--- a/tests/auto/cmake/CMakeLists.txt
+++ b/tests/auto/cmake/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
# This is an automatic test for the CMake configuration files.
# To run it manually,
# 1) mkdir build # Create a build directory
diff --git a/tests/auto/qbluetoothaddress/CMakeLists.txt b/tests/auto/qbluetoothaddress/CMakeLists.txt
index dbfdcc09..11745e78 100644
--- a/tests/auto/qbluetoothaddress/CMakeLists.txt
+++ b/tests/auto/qbluetoothaddress/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
#####################################################################
## tst_qbluetoothaddress Test:
#####################################################################
diff --git a/tests/auto/qbluetoothdevicediscoveryagent/CMakeLists.txt b/tests/auto/qbluetoothdevicediscoveryagent/CMakeLists.txt
index 44244264..5feef071 100644
--- a/tests/auto/qbluetoothdevicediscoveryagent/CMakeLists.txt
+++ b/tests/auto/qbluetoothdevicediscoveryagent/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
#####################################################################
## tst_qbluetoothdevicediscoveryagent Test:
#####################################################################
diff --git a/tests/auto/qbluetoothdeviceinfo/CMakeLists.txt b/tests/auto/qbluetoothdeviceinfo/CMakeLists.txt
index 11db1da7..5d5301b6 100644
--- a/tests/auto/qbluetoothdeviceinfo/CMakeLists.txt
+++ b/tests/auto/qbluetoothdeviceinfo/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
#####################################################################
## tst_qbluetoothdeviceinfo Test:
#####################################################################
diff --git a/tests/auto/qbluetoothhostinfo/CMakeLists.txt b/tests/auto/qbluetoothhostinfo/CMakeLists.txt
index 9ab1d69d..67741636 100644
--- a/tests/auto/qbluetoothhostinfo/CMakeLists.txt
+++ b/tests/auto/qbluetoothhostinfo/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
#####################################################################
## tst_qbluetoothhostinfo Test:
#####################################################################
diff --git a/tests/auto/qbluetoothlocaldevice/CMakeLists.txt b/tests/auto/qbluetoothlocaldevice/CMakeLists.txt
index d170430d..c7285277 100644
--- a/tests/auto/qbluetoothlocaldevice/CMakeLists.txt
+++ b/tests/auto/qbluetoothlocaldevice/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
#####################################################################
## tst_qbluetoothlocaldevice Test:
#####################################################################
diff --git a/tests/auto/qbluetoothserver/CMakeLists.txt b/tests/auto/qbluetoothserver/CMakeLists.txt
index 8a4feae3..b966586d 100644
--- a/tests/auto/qbluetoothserver/CMakeLists.txt
+++ b/tests/auto/qbluetoothserver/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
#####################################################################
## tst_qbluetoothserver Test:
#####################################################################
diff --git a/tests/auto/qbluetoothservicediscoveryagent/CMakeLists.txt b/tests/auto/qbluetoothservicediscoveryagent/CMakeLists.txt
index fd1244a0..407db998 100644
--- a/tests/auto/qbluetoothservicediscoveryagent/CMakeLists.txt
+++ b/tests/auto/qbluetoothservicediscoveryagent/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
#####################################################################
## tst_qbluetoothservicediscoveryagent Test:
#####################################################################
diff --git a/tests/auto/qbluetoothserviceinfo/CMakeLists.txt b/tests/auto/qbluetoothserviceinfo/CMakeLists.txt
index 4857dfb7..dd91c7ad 100644
--- a/tests/auto/qbluetoothserviceinfo/CMakeLists.txt
+++ b/tests/auto/qbluetoothserviceinfo/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
#####################################################################
## tst_qbluetoothserviceinfo Test:
#####################################################################
diff --git a/tests/auto/qbluetoothsocket/CMakeLists.txt b/tests/auto/qbluetoothsocket/CMakeLists.txt
index 676e3634..95865636 100644
--- a/tests/auto/qbluetoothsocket/CMakeLists.txt
+++ b/tests/auto/qbluetoothsocket/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
#####################################################################
## tst_qbluetoothsocket Test:
#####################################################################
diff --git a/tests/auto/qbluetoothuuid/CMakeLists.txt b/tests/auto/qbluetoothuuid/CMakeLists.txt
index d11a9721..f985de68 100644
--- a/tests/auto/qbluetoothuuid/CMakeLists.txt
+++ b/tests/auto/qbluetoothuuid/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
#####################################################################
## tst_qbluetoothuuid Test:
#####################################################################
diff --git a/tests/auto/qlowenergycharacteristic/CMakeLists.txt b/tests/auto/qlowenergycharacteristic/CMakeLists.txt
index 44d47e2d..3156cf8d 100644
--- a/tests/auto/qlowenergycharacteristic/CMakeLists.txt
+++ b/tests/auto/qlowenergycharacteristic/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
#####################################################################
## tst_qlowenergycharacteristic Test:
#####################################################################
diff --git a/tests/auto/qlowenergycontroller-gattserver/server/CMakeLists.txt b/tests/auto/qlowenergycontroller-gattserver/server/CMakeLists.txt
index a0a6aa10..b0220d6c 100644
--- a/tests/auto/qlowenergycontroller-gattserver/server/CMakeLists.txt
+++ b/tests/auto/qlowenergycontroller-gattserver/server/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
#####################################################################
## server Binary:
#####################################################################
diff --git a/tests/auto/qlowenergycontroller-gattserver/test/CMakeLists.txt b/tests/auto/qlowenergycontroller-gattserver/test/CMakeLists.txt
index a1117f46..69b5b510 100644
--- a/tests/auto/qlowenergycontroller-gattserver/test/CMakeLists.txt
+++ b/tests/auto/qlowenergycontroller-gattserver/test/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
#####################################################################
## tst_qlowenergycontroller-gattserver Test:
#####################################################################
diff --git a/tests/auto/qlowenergycontroller/CMakeLists.txt b/tests/auto/qlowenergycontroller/CMakeLists.txt
index cab6bb44..2561d072 100644
--- a/tests/auto/qlowenergycontroller/CMakeLists.txt
+++ b/tests/auto/qlowenergycontroller/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
#####################################################################
## tst_qlowenergycontroller Test:
#####################################################################
diff --git a/tests/auto/qlowenergydescriptor/CMakeLists.txt b/tests/auto/qlowenergydescriptor/CMakeLists.txt
index 7bc72966..17245661 100644
--- a/tests/auto/qlowenergydescriptor/CMakeLists.txt
+++ b/tests/auto/qlowenergydescriptor/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
#####################################################################
## tst_qlowenergydescriptor Test:
#####################################################################
diff --git a/tests/auto/qlowenergyservice/CMakeLists.txt b/tests/auto/qlowenergyservice/CMakeLists.txt
index 5478cceb..c293faf9 100644
--- a/tests/auto/qlowenergyservice/CMakeLists.txt
+++ b/tests/auto/qlowenergyservice/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
#####################################################################
## tst_qlowenergyservice Test:
#####################################################################
diff --git a/tests/auto/qndeffilter/CMakeLists.txt b/tests/auto/qndeffilter/CMakeLists.txt
index 6ad0dd06..686d032a 100644
--- a/tests/auto/qndeffilter/CMakeLists.txt
+++ b/tests/auto/qndeffilter/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
qt_internal_add_test(tst_qndeffilter
SOURCES
tst_qndeffilter.cpp
diff --git a/tests/auto/qndefmessage/CMakeLists.txt b/tests/auto/qndefmessage/CMakeLists.txt
index f0a60b72..f7c6b908 100644
--- a/tests/auto/qndefmessage/CMakeLists.txt
+++ b/tests/auto/qndefmessage/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
#####################################################################
## tst_qndefmessage Test:
#####################################################################
diff --git a/tests/auto/qndefnfcsmartposterrecord/CMakeLists.txt b/tests/auto/qndefnfcsmartposterrecord/CMakeLists.txt
index db6d70ed..0f975ec1 100644
--- a/tests/auto/qndefnfcsmartposterrecord/CMakeLists.txt
+++ b/tests/auto/qndefnfcsmartposterrecord/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
#####################################################################
## tst_qndefnfcsmartposterrecord Test:
#####################################################################
diff --git a/tests/auto/qndefrecord/CMakeLists.txt b/tests/auto/qndefrecord/CMakeLists.txt
index 331454fc..e237f01d 100644
--- a/tests/auto/qndefrecord/CMakeLists.txt
+++ b/tests/auto/qndefrecord/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
#####################################################################
## tst_qndefrecord Test:
#####################################################################
diff --git a/tests/auto/qnearfieldmanager/CMakeLists.txt b/tests/auto/qnearfieldmanager/CMakeLists.txt
index af94db09..5db1422a 100644
--- a/tests/auto/qnearfieldmanager/CMakeLists.txt
+++ b/tests/auto/qnearfieldmanager/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
if (NOT QT_FEATURE_private_tests)
return()
endif()
diff --git a/tests/auto/qnearfieldtagtype1/CMakeLists.txt b/tests/auto/qnearfieldtagtype1/CMakeLists.txt
index 744a9504..c42b9216 100644
--- a/tests/auto/qnearfieldtagtype1/CMakeLists.txt
+++ b/tests/auto/qnearfieldtagtype1/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
if (NOT QT_FEATURE_private_tests)
return()
endif()
diff --git a/tests/auto/qnearfieldtagtype2/CMakeLists.txt b/tests/auto/qnearfieldtagtype2/CMakeLists.txt
index 63f28de7..b2ad4dd6 100644
--- a/tests/auto/qnearfieldtagtype2/CMakeLists.txt
+++ b/tests/auto/qnearfieldtagtype2/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
if (NOT QT_FEATURE_private_tests)
return()
endif()
diff --git a/tests/bluetoothtestdevice/CMakeLists.txt b/tests/bluetoothtestdevice/CMakeLists.txt
index c5553599..5b63b4a8 100644
--- a/tests/bluetoothtestdevice/CMakeLists.txt
+++ b/tests/bluetoothtestdevice/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
#####################################################################
## bluetoothtestdevice Tool:
#####################################################################
diff --git a/tests/bttestui/CMakeLists.txt b/tests/bttestui/CMakeLists.txt
index 7f1c31fe..440c57b6 100644
--- a/tests/bttestui/CMakeLists.txt
+++ b/tests/bttestui/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
#####################################################################
## bttestui Binary:
#####################################################################
diff --git a/tests/manual/CMakeLists.txt b/tests/manual/CMakeLists.txt
index 2eb9ff8d..82a99f84 100644
--- a/tests/manual/CMakeLists.txt
+++ b/tests/manual/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
if(TARGET Qt::Bluetooth)
add_subdirectory(qlowenergycontroller)
endif()
diff --git a/tests/manual/qlowenergycontroller/CMakeLists.txt b/tests/manual/qlowenergycontroller/CMakeLists.txt
index 949aff7d..8b009c34 100644
--- a/tests/manual/qlowenergycontroller/CMakeLists.txt
+++ b/tests/manual/qlowenergycontroller/CMakeLists.txt
@@ -1,3 +1,6 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
cmake_minimum_required(VERSION 3.16...3.21)
if(NOT TARGET Qt::Bluetooth)