summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorLucie Gérard <lucie.gerard@qt.io>2022-07-06 12:54:18 +0200
committerLucie Gérard <lucie.gerard@qt.io>2022-07-07 14:23:05 +0200
commit74464fe33a28abe12657f960ac6eb59b92f4ecf9 (patch)
treef0bccd7011a75cc13b354c2fa3d9f782ccf2945f /tests/auto
parent2961ac00e77ff782e195d98cf873b41eca7f96a3 (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: I5d2588f7e3fd99bbb8bccca1dcb256afc215231b Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/CMakeLists.txt3
-rw-r--r--tests/auto/cmake/CMakeLists.txt3
-rw-r--r--tests/auto/cmake/test_qtscxml_module/CMakeLists.txt3
-rw-r--r--tests/auto/compiled/CMakeLists.txt3
-rw-r--r--tests/auto/dynamicmetaobject/CMakeLists.txt3
-rw-r--r--tests/auto/parser/CMakeLists.txt3
-rw-r--r--tests/auto/qml/CMakeLists.txt3
-rw-r--r--tests/auto/qml/qqmlstatemachine/CMakeLists.txt3
-rw-r--r--tests/auto/qml/qqmlstatemachinemetatype/CMakeLists.txt3
-rw-r--r--tests/auto/qml/scxmlqmlcpp/CMakeLists.txt3
-rw-r--r--tests/auto/qmltest/CMakeLists.txt3
-rw-r--r--tests/auto/qmltest/scxml/CMakeLists.txt3
-rw-r--r--tests/auto/qmltest/statemachine/CMakeLists.txt3
-rw-r--r--tests/auto/qstatemachine/CMakeLists.txt3
-rw-r--r--tests/auto/qstatemachine/qstate/CMakeLists.txt3
-rw-r--r--tests/auto/qstatemachine/qstatemachine/CMakeLists.txt3
-rw-r--r--tests/auto/scion/CMakeLists.txt3
-rw-r--r--tests/auto/scxmlcoutput/CMakeLists.txt3
-rw-r--r--tests/auto/scxmlcoutput/arguments/CMakeLists.txt3
-rw-r--r--tests/auto/scxmlcoutput/default/CMakeLists.txt3
-rw-r--r--tests/auto/scxmlcoutput/namespace/CMakeLists.txt3
-rw-r--r--tests/auto/scxmlcoutput/path/CMakeLists.txt3
-rw-r--r--tests/auto/statemachine/CMakeLists.txt3
-rw-r--r--tests/auto/statemachineinfo/CMakeLists.txt3
24 files changed, 72 insertions, 0 deletions
diff --git a/tests/auto/CMakeLists.txt b/tests/auto/CMakeLists.txt
index b92ad74..40502d4 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
+
add_subdirectory(scxmlcoutput)
if(TARGET Qt::Gui AND TARGET Qt::Qml)
diff --git a/tests/auto/cmake/CMakeLists.txt b/tests/auto/cmake/CMakeLists.txt
index c822fc8..88e031c 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/cmake/test_qtscxml_module/CMakeLists.txt b/tests/auto/cmake/test_qtscxml_module/CMakeLists.txt
index 2095309..384c2b9 100644
--- a/tests/auto/cmake/test_qtscxml_module/CMakeLists.txt
+++ b/tests/auto/cmake/test_qtscxml_module/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)
project(test_qtscxml_module)
diff --git a/tests/auto/compiled/CMakeLists.txt b/tests/auto/compiled/CMakeLists.txt
index 1a22044..af6ec24 100644
--- a/tests/auto/compiled/CMakeLists.txt
+++ b/tests/auto/compiled/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_compiled Test:
diff --git a/tests/auto/dynamicmetaobject/CMakeLists.txt b/tests/auto/dynamicmetaobject/CMakeLists.txt
index ca2ec7e..b731543 100644
--- a/tests/auto/dynamicmetaobject/CMakeLists.txt
+++ b/tests/auto/dynamicmetaobject/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_dynamicmetaobject Test:
diff --git a/tests/auto/parser/CMakeLists.txt b/tests/auto/parser/CMakeLists.txt
index 20e1dbe..f29ec8a 100644
--- a/tests/auto/parser/CMakeLists.txt
+++ b/tests/auto/parser/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_scxml_parser Test:
diff --git a/tests/auto/qml/CMakeLists.txt b/tests/auto/qml/CMakeLists.txt
index 23c8022..8cbd4c5 100644
--- a/tests/auto/qml/CMakeLists.txt
+++ b/tests/auto/qml/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::StateMachineQml)
add_subdirectory(qqmlstatemachine)
add_subdirectory(qqmlstatemachinemetatype)
diff --git a/tests/auto/qml/qqmlstatemachine/CMakeLists.txt b/tests/auto/qml/qqmlstatemachine/CMakeLists.txt
index 70f3da8..a32e208 100644
--- a/tests/auto/qml/qqmlstatemachine/CMakeLists.txt
+++ b/tests/auto/qml/qqmlstatemachine/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_qqmlstatemachine Test:
diff --git a/tests/auto/qml/qqmlstatemachinemetatype/CMakeLists.txt b/tests/auto/qml/qqmlstatemachinemetatype/CMakeLists.txt
index f7bad06..8deed9c 100644
--- a/tests/auto/qml/qqmlstatemachinemetatype/CMakeLists.txt
+++ b/tests/auto/qml/qqmlstatemachinemetatype/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_qqmlstatemachinemetatype Test:
#####################################################################
diff --git a/tests/auto/qml/scxmlqmlcpp/CMakeLists.txt b/tests/auto/qml/scxmlqmlcpp/CMakeLists.txt
index 5436a4f..466602c 100644
--- a/tests/auto/qml/scxmlqmlcpp/CMakeLists.txt
+++ b/tests/auto/qml/scxmlqmlcpp/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
+
# Collect test data
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
diff --git a/tests/auto/qmltest/CMakeLists.txt b/tests/auto/qmltest/CMakeLists.txt
index 0f60ab6..ee7ea8c 100644
--- a/tests/auto/qmltest/CMakeLists.txt
+++ b/tests/auto/qmltest/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::StateMachineQml)
add_subdirectory(statemachine)
endif()
diff --git a/tests/auto/qmltest/scxml/CMakeLists.txt b/tests/auto/qmltest/scxml/CMakeLists.txt
index 64bec63..758875b 100644
--- a/tests/auto/qmltest/scxml/CMakeLists.txt
+++ b/tests/auto/qmltest/scxml/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
+
# Collect test data
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
diff --git a/tests/auto/qmltest/statemachine/CMakeLists.txt b/tests/auto/qmltest/statemachine/CMakeLists.txt
index 5f80b69..6d4466b 100644
--- a/tests/auto/qmltest/statemachine/CMakeLists.txt
+++ b/tests/auto/qmltest/statemachine/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
+
# Collect test data
file(GLOB_RECURSE test_data_glob
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
diff --git a/tests/auto/qstatemachine/CMakeLists.txt b/tests/auto/qstatemachine/CMakeLists.txt
index 060d461..4545e73 100644
--- a/tests/auto/qstatemachine/CMakeLists.txt
+++ b/tests/auto/qstatemachine/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_FEATURE_qeventtransition)
add_subdirectory(qstate)
diff --git a/tests/auto/qstatemachine/qstate/CMakeLists.txt b/tests/auto/qstatemachine/qstate/CMakeLists.txt
index 3da7190..337d1d6 100644
--- a/tests/auto/qstatemachine/qstate/CMakeLists.txt
+++ b/tests/auto/qstatemachine/qstate/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_qstate Test:
diff --git a/tests/auto/qstatemachine/qstatemachine/CMakeLists.txt b/tests/auto/qstatemachine/qstatemachine/CMakeLists.txt
index 13cd6c2..2e99b36 100644
--- a/tests/auto/qstatemachine/qstatemachine/CMakeLists.txt
+++ b/tests/auto/qstatemachine/qstatemachine/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_qstatemachine Test:
diff --git a/tests/auto/scion/CMakeLists.txt b/tests/auto/scion/CMakeLists.txt
index 9f7020a..e3fae5c 100644
--- a/tests/auto/scion/CMakeLists.txt
+++ b/tests/auto/scion/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_scion Test:
#####################################################################
diff --git a/tests/auto/scxmlcoutput/CMakeLists.txt b/tests/auto/scxmlcoutput/CMakeLists.txt
index 9e3d210..c3db010 100644
--- a/tests/auto/scxmlcoutput/CMakeLists.txt
+++ b/tests/auto/scxmlcoutput/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::Scxml)
add_subdirectory(default)
add_subdirectory(namespace)
diff --git a/tests/auto/scxmlcoutput/arguments/CMakeLists.txt b/tests/auto/scxmlcoutput/arguments/CMakeLists.txt
index 4e0d7ff..c360bcc 100644
--- a/tests/auto/scxmlcoutput/arguments/CMakeLists.txt
+++ b/tests/auto/scxmlcoutput/arguments/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_scxmlcoutput_arguments
SOURCES
tst_scxmlcoutput.cpp
diff --git a/tests/auto/scxmlcoutput/default/CMakeLists.txt b/tests/auto/scxmlcoutput/default/CMakeLists.txt
index e4a9517..f330010 100644
--- a/tests/auto/scxmlcoutput/default/CMakeLists.txt
+++ b/tests/auto/scxmlcoutput/default/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_scxmlcoutput_default
SOURCES
tst_scxmlcoutput.cpp
diff --git a/tests/auto/scxmlcoutput/namespace/CMakeLists.txt b/tests/auto/scxmlcoutput/namespace/CMakeLists.txt
index d06bbf8..d382e21 100644
--- a/tests/auto/scxmlcoutput/namespace/CMakeLists.txt
+++ b/tests/auto/scxmlcoutput/namespace/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_scxmlcoutput_namespace
SOURCES
tst_scxmlcoutput.cpp
diff --git a/tests/auto/scxmlcoutput/path/CMakeLists.txt b/tests/auto/scxmlcoutput/path/CMakeLists.txt
index 68408cd..5aadcda 100644
--- a/tests/auto/scxmlcoutput/path/CMakeLists.txt
+++ b/tests/auto/scxmlcoutput/path/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_scxmlcoutput_path
SOURCES
tst_scxmlcoutput.cpp
diff --git a/tests/auto/statemachine/CMakeLists.txt b/tests/auto/statemachine/CMakeLists.txt
index 475ac42..4bf5ab9 100644
--- a/tests/auto/statemachine/CMakeLists.txt
+++ b/tests/auto/statemachine/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_statemachine Test:
diff --git a/tests/auto/statemachineinfo/CMakeLists.txt b/tests/auto/statemachineinfo/CMakeLists.txt
index 171262e..0031c03 100644
--- a/tests/auto/statemachineinfo/CMakeLists.txt
+++ b/tests/auto/statemachineinfo/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_statemachineinfo Test: