summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJuha Vuolle <juha.vuolle@insta.fi>2021-02-17 18:57:17 +0200
committerJuha Vuolle <juha.vuolle@insta.fi>2021-02-22 16:13:10 +0200
commitde100325962a45a006e48af046b41cbab281e779 (patch)
treeb05acc711a35c6e41766e5abfae39683e7602581 /tests
parent02eef0718e76d06e072e3013ec6879cae37b8a56 (diff)
Remove qtcxml repo qmake build support (examples excepted)
Remove qmake support by removing *.pr? files, with some exceptions: - Keep qmake support for the examples - Keeps qscxmlc.prf to retain STATECHARTS support for .pro files Also remove: - "#special case" and "# Generated from" comments from cmake files - .prev_CMakeLists.txt files Note: configure.json files are still kept as they still used to generate the configure.cmake Pick-to: 6.1 Task-number: QTBUG-89828 Change-Id: Ie9c7e86d099bbdc535f52b9f3e841fcf3973ca36 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/.prev_CMakeLists.txt7
-rw-r--r--tests/CMakeLists.txt1
-rw-r--r--tests/auto/.prev_CMakeLists.txt14
-rw-r--r--tests/auto/CMakeLists.txt1
-rw-r--r--tests/auto/auto.pro12
-rw-r--r--tests/auto/compiled/CMakeLists.txt1
-rw-r--r--tests/auto/compiled/compiled.pro25
-rw-r--r--tests/auto/dynamicmetaobject/CMakeLists.txt1
-rw-r--r--tests/auto/dynamicmetaobject/dynamicmetaobject.pro13
-rw-r--r--tests/auto/parser/CMakeLists.txt1
-rw-r--r--tests/auto/parser/parser.pro13
-rw-r--r--tests/auto/qml/CMakeLists.txt1
-rw-r--r--tests/auto/qml/qml.pro11
-rw-r--r--tests/auto/qml/qqmlstatemachine/CMakeLists.txt1
-rw-r--r--tests/auto/qml/qqmlstatemachine/qqmlstatemachine.pro9
-rw-r--r--tests/auto/qml/qqmlstatemachinemetatype/CMakeLists.txt1
-rw-r--r--tests/auto/qml/qqmlstatemachinemetatype/qqmlstatemachinemetatype.pro5
-rw-r--r--tests/auto/qmltest/CMakeLists.txt1
-rw-r--r--tests/auto/qmltest/qmltest.pro2
-rw-r--r--tests/auto/qmltest/statemachine/CMakeLists.txt1
-rw-r--r--tests/auto/qmltest/statemachine/statemachine.pro1
-rw-r--r--tests/auto/qstatemachine/CMakeLists.txt1
-rw-r--r--tests/auto/qstatemachine/qstate/CMakeLists.txt1
-rw-r--r--tests/auto/qstatemachine/qstate/qstate.pro4
-rw-r--r--tests/auto/qstatemachine/qstatemachine.pro4
-rw-r--r--tests/auto/qstatemachine/qstatemachine/CMakeLists.txt1
-rw-r--r--tests/auto/qstatemachine/qstatemachine/qstatemachine.pro5
-rw-r--r--tests/auto/scion/.prev_CMakeLists.txt50
-rw-r--r--tests/auto/scion/CMakeLists.txt1
-rw-r--r--tests/auto/scion/scion.pro103
-rw-r--r--tests/auto/shared/util.pri9
-rw-r--r--tests/auto/statemachine/CMakeLists.txt1
-rw-r--r--tests/auto/statemachine/statemachine.pro13
-rw-r--r--tests/auto/statemachineinfo/CMakeLists.txt1
-rw-r--r--tests/auto/statemachineinfo/statemachineinfo.pro13
-rw-r--r--tests/manual/cppgen/CMakeLists.txt1
-rw-r--r--tests/manual/cppgen/cppgen.pro18
-rw-r--r--tests/manual/testCpp/CMakeLists.txt1
-rw-r--r--tests/manual/testCpp/testCpp.pro19
-rw-r--r--tests/tests.pro4
40 files changed, 0 insertions, 372 deletions
diff --git a/tests/.prev_CMakeLists.txt b/tests/.prev_CMakeLists.txt
deleted file mode 100644
index 2214137..0000000
--- a/tests/.prev_CMakeLists.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-# Generated from tests.pro.
-
-if(QT_BUILD_STANDALONE_TESTS)
- # Add qt_find_package calls for extra dependencies that need to be found when building
- # the standalone tests here.
-endif()
-qt_build_tests()
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 70a2c86..7f6e827 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -1,4 +1,3 @@
-# Generated from tests.pro.
if(QT_BUILD_STANDALONE_TESTS)
# Add qt_find_package calls for extra dependencies that need to be found when building
diff --git a/tests/auto/.prev_CMakeLists.txt b/tests/auto/.prev_CMakeLists.txt
deleted file mode 100644
index 4b560c5..0000000
--- a/tests/auto/.prev_CMakeLists.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-# Generated from auto.pro.
-
-add_subdirectory(cmake)
-add_subdirectory(compiled)
-add_subdirectory(dynamicmetaobject)
-add_subdirectory(parser)
-add_subdirectory(scion)
-add_subdirectory(statemachine)
-add_subdirectory(statemachineinfo)
-add_subdirectory(qml)
-add_subdirectory(qmltest)
-if(NOT UIKIT)
- add_subdirectory(qstatemachine)
-endif()
diff --git a/tests/auto/CMakeLists.txt b/tests/auto/CMakeLists.txt
index 4b4ca11..6e10a28 100644
--- a/tests/auto/CMakeLists.txt
+++ b/tests/auto/CMakeLists.txt
@@ -1,4 +1,3 @@
-# Generated from auto.pro.
add_subdirectory(scxmlcoutput)
if (TARGET Qt::Gui AND TARGET Qt::Qml)
diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro
deleted file mode 100644
index 576acc3..0000000
--- a/tests/auto/auto.pro
+++ /dev/null
@@ -1,12 +0,0 @@
-TEMPLATE = subdirs
-SUBDIRS = cmake\
- compiled\
- dynamicmetaobject\
- parser\
- scion\
- statemachine \
- statemachineinfo \
- qml \
- qmltest
-
-!uikit: SUBDIRS += qstatemachine
diff --git a/tests/auto/compiled/CMakeLists.txt b/tests/auto/compiled/CMakeLists.txt
index 76fb42f..39ceb72 100644
--- a/tests/auto/compiled/CMakeLists.txt
+++ b/tests/auto/compiled/CMakeLists.txt
@@ -1,4 +1,3 @@
-# Generated from compiled.pro.
#####################################################################
## tst_compiled Test:
diff --git a/tests/auto/compiled/compiled.pro b/tests/auto/compiled/compiled.pro
deleted file mode 100644
index 713f484..0000000
--- a/tests/auto/compiled/compiled.pro
+++ /dev/null
@@ -1,25 +0,0 @@
-QT = core gui qml testlib scxml
-CONFIG += testcase
-
-TARGET = tst_compiled
-CONFIG += console
-CONFIG -= app_bundle
-
-TEMPLATE = app
-
-SOURCES += \
- tst_compiled.cpp
-
-STATECHARTS = \
- ids1.scxml \
- eventnames1.scxml \
- eventnames2.scxml \
- statemachineunicodename.scxml \
- anonymousstate.scxml \
- submachineunicodename.scxml \
- datainnulldatamodel.scxml \
- initialhistory.scxml \
- connection.scxml \
- topmachine.scxml
-
-RESOURCES = tst_compiled.qrc
diff --git a/tests/auto/dynamicmetaobject/CMakeLists.txt b/tests/auto/dynamicmetaobject/CMakeLists.txt
index d5d0d39..ca2ec7e 100644
--- a/tests/auto/dynamicmetaobject/CMakeLists.txt
+++ b/tests/auto/dynamicmetaobject/CMakeLists.txt
@@ -1,4 +1,3 @@
-# Generated from dynamicmetaobject.pro.
#####################################################################
## tst_dynamicmetaobject Test:
diff --git a/tests/auto/dynamicmetaobject/dynamicmetaobject.pro b/tests/auto/dynamicmetaobject/dynamicmetaobject.pro
deleted file mode 100644
index 5ec4e5f..0000000
--- a/tests/auto/dynamicmetaobject/dynamicmetaobject.pro
+++ /dev/null
@@ -1,13 +0,0 @@
-QT = core gui qml testlib scxml
-CONFIG += testcase
-
-TARGET = tst_dynamicmetaobject
-CONFIG += console
-CONFIG -= app_bundle
-
-TEMPLATE = app
-
-RESOURCES += tst_dynamicmetaobject.qrc
-
-SOURCES += \
- tst_dynamicmetaobject.cpp
diff --git a/tests/auto/parser/CMakeLists.txt b/tests/auto/parser/CMakeLists.txt
index 3beb7c9..3268a16 100644
--- a/tests/auto/parser/CMakeLists.txt
+++ b/tests/auto/parser/CMakeLists.txt
@@ -1,4 +1,3 @@
-# Generated from parser.pro.
#####################################################################
## tst_parser Test:
diff --git a/tests/auto/parser/parser.pro b/tests/auto/parser/parser.pro
deleted file mode 100644
index 3a21a71..0000000
--- a/tests/auto/parser/parser.pro
+++ /dev/null
@@ -1,13 +0,0 @@
-QT = core gui qml testlib scxml
-CONFIG += testcase
-
-TARGET = tst_parser
-CONFIG += console
-CONFIG -= app_bundle
-
-TEMPLATE = app
-
-RESOURCES += tst_parser.qrc
-
-SOURCES += \
- tst_parser.cpp
diff --git a/tests/auto/qml/CMakeLists.txt b/tests/auto/qml/CMakeLists.txt
index ea4052b..6ec7355 100644
--- a/tests/auto/qml/CMakeLists.txt
+++ b/tests/auto/qml/CMakeLists.txt
@@ -1,4 +1,3 @@
-# Generated from qml.pro.
add_subdirectory(qqmlstatemachine)
add_subdirectory(qqmlstatemachinemetatype)
diff --git a/tests/auto/qml/qml.pro b/tests/auto/qml/qml.pro
deleted file mode 100644
index 54ec5f7..0000000
--- a/tests/auto/qml/qml.pro
+++ /dev/null
@@ -1,11 +0,0 @@
-TEMPLATE = subdirs
-QT_FOR_CONFIG += qml
-
-METATYPETESTS += \
- qqmlstatemachinemetatype
-
-PUBLICTESTS += \
- qqmlstatemachine
-
-SUBDIRS += $$PUBLICTESTS
-SUBDIRS += $$METATYPETESTS
diff --git a/tests/auto/qml/qqmlstatemachine/CMakeLists.txt b/tests/auto/qml/qqmlstatemachine/CMakeLists.txt
index 5bd7b46..5772a55 100644
--- a/tests/auto/qml/qqmlstatemachine/CMakeLists.txt
+++ b/tests/auto/qml/qqmlstatemachine/CMakeLists.txt
@@ -1,4 +1,3 @@
-# Generated from qqmlstatemachine.pro.
#####################################################################
## tst_qqmlstatemachine Test:
diff --git a/tests/auto/qml/qqmlstatemachine/qqmlstatemachine.pro b/tests/auto/qml/qqmlstatemachine/qqmlstatemachine.pro
deleted file mode 100644
index 8b27a05..0000000
--- a/tests/auto/qml/qqmlstatemachine/qqmlstatemachine.pro
+++ /dev/null
@@ -1,9 +0,0 @@
-CONFIG += testcase
-osx:CONFIG -= app_bundle
-
-TARGET = tst_qqmlstatemachine
-SOURCES += tst_qqmlstatemachine.cpp
-
-include (../../shared/util.pri)
-
-QT += core-private gui-private qml-private quick-private gui testlib
diff --git a/tests/auto/qml/qqmlstatemachinemetatype/CMakeLists.txt b/tests/auto/qml/qqmlstatemachinemetatype/CMakeLists.txt
index 090ae9f..28c126b 100644
--- a/tests/auto/qml/qqmlstatemachinemetatype/CMakeLists.txt
+++ b/tests/auto/qml/qqmlstatemachinemetatype/CMakeLists.txt
@@ -1,4 +1,3 @@
-# Generated from qqmlstatemachinemetatype.pro.
#####################################################################
## tst_qqmlstatemachinemetatype Test:
diff --git a/tests/auto/qml/qqmlstatemachinemetatype/qqmlstatemachinemetatype.pro b/tests/auto/qml/qqmlstatemachinemetatype/qqmlstatemachinemetatype.pro
deleted file mode 100644
index 57b18a2..0000000
--- a/tests/auto/qml/qqmlstatemachinemetatype/qqmlstatemachinemetatype.pro
+++ /dev/null
@@ -1,5 +0,0 @@
-CONFIG += testcase
-TARGET = tst_qqmlstatemachinemetatype
-SOURCES += tst_qqmlstatemachinemetatype.cpp
-macx:CONFIG -= app_bundle
-QT += core-private gui-private qml-private testlib
diff --git a/tests/auto/qmltest/CMakeLists.txt b/tests/auto/qmltest/CMakeLists.txt
index 3dc534f..3a4da03 100644
--- a/tests/auto/qmltest/CMakeLists.txt
+++ b/tests/auto/qmltest/CMakeLists.txt
@@ -1,3 +1,2 @@
-# Generated from qmltest.pro.
add_subdirectory(statemachine)
diff --git a/tests/auto/qmltest/qmltest.pro b/tests/auto/qmltest/qmltest.pro
deleted file mode 100644
index b8d1779..0000000
--- a/tests/auto/qmltest/qmltest.pro
+++ /dev/null
@@ -1,2 +0,0 @@
-TEMPLATE = subdirs
-SUBDIRS += statemachine
diff --git a/tests/auto/qmltest/statemachine/CMakeLists.txt b/tests/auto/qmltest/statemachine/CMakeLists.txt
index 28fc1f8..de9b470 100644
--- a/tests/auto/qmltest/statemachine/CMakeLists.txt
+++ b/tests/auto/qmltest/statemachine/CMakeLists.txt
@@ -1,4 +1,3 @@
-# Generated from statemachine.pro.
#####################################################################
## statemachine Test:
diff --git a/tests/auto/qmltest/statemachine/statemachine.pro b/tests/auto/qmltest/statemachine/statemachine.pro
deleted file mode 100644
index a7938e7..0000000
--- a/tests/auto/qmltest/statemachine/statemachine.pro
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG += qmltestcase
diff --git a/tests/auto/qstatemachine/CMakeLists.txt b/tests/auto/qstatemachine/CMakeLists.txt
index 5a09dc6..060d461 100644
--- a/tests/auto/qstatemachine/CMakeLists.txt
+++ b/tests/auto/qstatemachine/CMakeLists.txt
@@ -1,4 +1,3 @@
-# Generated from qstatemachine.pro.
if (QT_FEATURE_qeventtransition)
add_subdirectory(qstate)
diff --git a/tests/auto/qstatemachine/qstate/CMakeLists.txt b/tests/auto/qstatemachine/qstate/CMakeLists.txt
index 7f6f2ee..3da7190 100644
--- a/tests/auto/qstatemachine/qstate/CMakeLists.txt
+++ b/tests/auto/qstatemachine/qstate/CMakeLists.txt
@@ -1,4 +1,3 @@
-# Generated from qstate.pro.
#####################################################################
## tst_qstate Test:
diff --git a/tests/auto/qstatemachine/qstate/qstate.pro b/tests/auto/qstatemachine/qstate/qstate.pro
deleted file mode 100644
index 4751458..0000000
--- a/tests/auto/qstatemachine/qstate/qstate.pro
+++ /dev/null
@@ -1,4 +0,0 @@
-CONFIG += testcase
-TARGET = tst_qstate
-QT = core statemachine testlib
-SOURCES = tst_qstate.cpp
diff --git a/tests/auto/qstatemachine/qstatemachine.pro b/tests/auto/qstatemachine/qstatemachine.pro
deleted file mode 100644
index aa645ac..0000000
--- a/tests/auto/qstatemachine/qstatemachine.pro
+++ /dev/null
@@ -1,4 +0,0 @@
-TEMPLATE=subdirs
-SUBDIRS=\
- qstate \
- qstatemachine
diff --git a/tests/auto/qstatemachine/qstatemachine/CMakeLists.txt b/tests/auto/qstatemachine/qstatemachine/CMakeLists.txt
index 1ce2dc6..1d0c13b 100644
--- a/tests/auto/qstatemachine/qstatemachine/CMakeLists.txt
+++ b/tests/auto/qstatemachine/qstatemachine/CMakeLists.txt
@@ -1,4 +1,3 @@
-# Generated from qstatemachine.pro.
#####################################################################
## tst_qstatemachine Test:
diff --git a/tests/auto/qstatemachine/qstatemachine/qstatemachine.pro b/tests/auto/qstatemachine/qstatemachine/qstatemachine.pro
deleted file mode 100644
index cd7074c..0000000
--- a/tests/auto/qstatemachine/qstatemachine/qstatemachine.pro
+++ /dev/null
@@ -1,5 +0,0 @@
-CONFIG += testcase
-TARGET = tst_qstatemachine
-QT = core statemachine statemachine-private testlib
-qtHaveModule(widgets): QT += widgets
-SOURCES = tst_qstatemachine.cpp
diff --git a/tests/auto/scion/.prev_CMakeLists.txt b/tests/auto/scion/.prev_CMakeLists.txt
deleted file mode 100644
index 9e17424..0000000
--- a/tests/auto/scion/.prev_CMakeLists.txt
+++ /dev/null
@@ -1,50 +0,0 @@
-# Generated from scion.pro.
-
-#####################################################################
-## tst_scion Test:
-#####################################################################
-
-qt_add_test(tst_scion
- SOURCES
- tst_scion.cpp
- DEFINES
- QT_NO_CAST_FROM_ASCII
- QT_NO_CAST_TO_ASCII
- PUBLIC_LIBRARIES
- Qt::Gui
- Qt::Qml
- Qt::Scxml
-)
-#### Ignored generated resource: ${CMAKE_CURRENT_BINARY_DIR}/scion.qrc
-#### Keys ignored in scope 1:.:.:scion.pro:<TRUE>:
-# ALLFILES = "$$SCXMLS_DIR/*.*,"
-# ALLSCXMLS = "$$SCXMLS_DIR/*.scxml,"
-# BLACKLISTED = "test216sub1.scxml" "test226sub1.txml" "test239sub1.scxml" "test242sub1.scxml" "test276sub1.scxml" "test530.txml.scxml" "test301.txml.scxml" "test441a.txml.scxml" "test441b.txml.scxml" "test557.txml.scxml"
-# QMAKE_EXTRA_COMPILERS = "myscxml" "myscxml_hdr"
-# SCXMLS_DIR = "$$absolute_path($$PWD/../../3rdparty/scion-tests/scxml-test-framework/test)"
-# TEMPLATE = "app"
-# contents = "'<!DOCTYPE" "RCC><RCC" "version=\"1.0\">'" "'<qresource>'" "$$qrc" "'</qresource></RCC>'"
-# myscxml.commands = "$$QMAKE_QSCXMLC" "--header" "scxml/${QMAKE_FUNC_nameTheNamespace}_${QMAKE_FILE_IN_BASE}.h" "--impl" "${QMAKE_FILE_OUT}" "--namespace" "${QMAKE_FUNC_nameTheNamespace}" "--classname" "${QMAKE_FUNC_nameTheClass}" "${QMAKE_FILE_IN}"
-# myscxml.depends = "$$QMAKE_QSCXMLC_EXE"
-# myscxml.input = "SCXMLS"
-# myscxml.output = "scxml/${QMAKE_FUNC_nameTheNamespace}_${QMAKE_FILE_IN_BASE}.cpp"
-# myscxml.variable_out = "SOURCES"
-# myscxml_hdr.commands = "$$escape_expand(\\n)"
-# myscxml_hdr.depends = "scxml/${QMAKE_FUNC_nameTheNamespace}_${QMAKE_FILE_IN_BASE}.cpp"
-# myscxml_hdr.input = "SCXMLS"
-# myscxml_hdr.output = "scxml/${QMAKE_FUNC_nameTheNamespace}_${QMAKE_FILE_IN_BASE}.h"
-# myscxml_hdr.variable_out = "SCXML_HEADERS"
-
-## Scopes:
-#####################################################################
-
-#### Keys ignored in scope 2:.:.:scion.pro:defineReplace(nameTheNamespace):
-# sn = "__relative_path___absolute_path___dirname_1_____OUT_PWD____SCXMLS_DIR_"
-
-#### Keys ignored in scope 3:.:.:scion.pro:defineReplace(nameTheClass):
-# cn = "1"
-
-qt_extend_target(tst_scion CONDITION MSVC AND WIN32
- COMPILE_OPTIONS
- /bigobj
-)
diff --git a/tests/auto/scion/CMakeLists.txt b/tests/auto/scion/CMakeLists.txt
index 4dc91ff..8991562 100644
--- a/tests/auto/scion/CMakeLists.txt
+++ b/tests/auto/scion/CMakeLists.txt
@@ -1,4 +1,3 @@
-# Generated from scion.pro.
#####################################################################
## tst_scion Test:
diff --git a/tests/auto/scion/scion.pro b/tests/auto/scion/scion.pro
deleted file mode 100644
index 1ebc624..0000000
--- a/tests/auto/scion/scion.pro
+++ /dev/null
@@ -1,103 +0,0 @@
-QT = core gui qml testlib scxml
-CONFIG += testcase c++11 console
-CONFIG -= app_bundle
-TARGET = tst_scion
-
-TEMPLATE = app
-
-RESOURCES = $$OUT_PWD/scion.qrc
-DEFINES += QT_NO_CAST_FROM_ASCII QT_NO_CAST_TO_ASCII
-
-SOURCES += \
- tst_scion.cpp
-
-defineReplace(nameTheNamespace) {
- sn=$$relative_path($$absolute_path($$dirname(1), $$OUT_PWD),$$SCXMLS_DIR)
- sn~=s/\\.txml$//
- sn~=s/[^a-zA-Z_0-9]/_/
- return ($$sn)
-}
-defineReplace(nameTheClass) {
- cn = $$basename(1)
- cn ~= s/\\.scxml$//
- cn ~=s/\\.txml$//
- cn ~= s/[^a-zA-Z_0-9]/_/
- return ($$cn)
-}
-
-qtPrepareTool(QMAKE_QSCXMLC, qscxmlc)
-
-win32 {
- msvc: QMAKE_CXXFLAGS += /bigobj
-}
-
-myscxml.commands = $$QMAKE_QSCXMLC --header scxml/${QMAKE_FUNC_nameTheNamespace}_${QMAKE_FILE_IN_BASE}.h --impl ${QMAKE_FILE_OUT} --namespace ${QMAKE_FUNC_nameTheNamespace} --classname ${QMAKE_FUNC_nameTheClass} ${QMAKE_FILE_IN}
-myscxml.depends += $$QMAKE_QSCXMLC_EXE
-myscxml.output = scxml/${QMAKE_FUNC_nameTheNamespace}_${QMAKE_FILE_IN_BASE}.cpp
-myscxml.input = SCXMLS
-myscxml.variable_out = SOURCES
-QMAKE_EXTRA_COMPILERS += myscxml
-
-myscxml_hdr.input = SCXMLS
-myscxml_hdr.variable_out = SCXML_HEADERS
-myscxml_hdr.commands = $$escape_expand(\\n)
-myscxml_hdr.depends = scxml/${QMAKE_FUNC_nameTheNamespace}_${QMAKE_FILE_IN_BASE}.cpp
-myscxml_hdr.output = scxml/${QMAKE_FUNC_nameTheNamespace}_${QMAKE_FILE_IN_BASE}.h
-QMAKE_EXTRA_COMPILERS += myscxml_hdr
-
-SCXMLS_DIR += $$absolute_path($$PWD/../../3rdparty/scion-tests/scxml-test-framework/test)
-ALLSCXMLS = $$files($$SCXMLS_DIR/*.scxml, true)
-
-# For a better explanation about the "blacklisted" tests, see tst_scion.cpp
-# <invoke>
-BLACKLISTED = \
- test216sub1.scxml \
- test226sub1.txml \
- test239sub1.scxml \
- test242sub1.scxml \
- test276sub1.scxml \
- test530.txml.scxml
-
-# other
-BLACKLISTED += \
- test301.txml.scxml \
- test441a.txml.scxml \
- test441b.txml.scxml \
- test557.txml.scxml
-
-for (f,ALLSCXMLS) {
- cn = $$basename(f)
- if (!contains(BLACKLISTED, $$cn)) {
- SCXMLS += $$f
-
- cn ~= s/\\.scxml$//
- hn = $$cn
- cn ~=s/\\.txml$//
- sn = $$relative_path($$dirname(f), $$SCXMLS_DIR)
- sn ~=s/[^a-zA-Z_0-9]/_/
-
- inc_list += "$${LITERAL_HASH}include \"scxml/$${sn}_$${hn}.h\""
- func_list += " []()->QScxmlStateMachine*{return new $${sn}::$${cn};},"
-
- base = $$relative_path($$f,$$absolute_path($$SCXMLS_DIR))
- tn = $$base
- tn ~= s/\\.scxml$//
- testBases += " \"$$tn\","
- }
-}
-
-ALLFILES = $$files($$SCXMLS_DIR/*.*, true)
-for (f,ALLFILES) {
- base = $$relative_path($$f,$$absolute_path($$SCXMLS_DIR))
- file = $$relative_path($$f, $$absolute_path($$OUT_PWD))
- qrc += '<file alias="$$base">$$file</file>'
-}
-
-contents = $$inc_list "std::function<QScxmlStateMachine *()> creators[] = {" $$func_list "};"
-write_file("$$OUT_PWD/scxml/compiled_tests.h", contents)|error("Aborting.")
-
-contents = "const char *testBases[] = {" $$testBases "};"
-write_file("$$OUT_PWD/scxml/scion.h", contents)|error("Aborting.")
-
-contents = '<!DOCTYPE RCC><RCC version=\"1.0\">' '<qresource>' $$qrc '</qresource></RCC>'
-write_file("$$OUT_PWD/scion.qrc", contents)|error("Aborting.")
diff --git a/tests/auto/shared/util.pri b/tests/auto/shared/util.pri
deleted file mode 100644
index f5526a9..0000000
--- a/tests/auto/shared/util.pri
+++ /dev/null
@@ -1,9 +0,0 @@
-INCLUDEPATH += $$PWD
-HEADERS += $$PWD/util.h
-SOURCES += $$PWD/util.cpp
-
-android|ios {
- DEFINES += QT_QMLTEST_DATADIR=\\\":/data\\\"
-} else {
- DEFINES += QT_QMLTEST_DATADIR=\\\"$${_PRO_FILE_PWD_}/data\\\"
-}
diff --git a/tests/auto/statemachine/CMakeLists.txt b/tests/auto/statemachine/CMakeLists.txt
index 61bda10..8a24651 100644
--- a/tests/auto/statemachine/CMakeLists.txt
+++ b/tests/auto/statemachine/CMakeLists.txt
@@ -1,4 +1,3 @@
-# Generated from statemachine.pro.
#####################################################################
## tst_statemachine Test:
diff --git a/tests/auto/statemachine/statemachine.pro b/tests/auto/statemachine/statemachine.pro
deleted file mode 100644
index 0e4de1a..0000000
--- a/tests/auto/statemachine/statemachine.pro
+++ /dev/null
@@ -1,13 +0,0 @@
-QT = core gui qml testlib scxml-private
-CONFIG += testcase
-
-TARGET = tst_statemachine
-CONFIG += console
-CONFIG -= app_bundle
-
-TEMPLATE = app
-
-RESOURCES += tst_statemachine.qrc
-
-SOURCES += \
- tst_statemachine.cpp
diff --git a/tests/auto/statemachineinfo/CMakeLists.txt b/tests/auto/statemachineinfo/CMakeLists.txt
index 8be6491..171262e 100644
--- a/tests/auto/statemachineinfo/CMakeLists.txt
+++ b/tests/auto/statemachineinfo/CMakeLists.txt
@@ -1,4 +1,3 @@
-# Generated from statemachineinfo.pro.
#####################################################################
## tst_statemachineinfo Test:
diff --git a/tests/auto/statemachineinfo/statemachineinfo.pro b/tests/auto/statemachineinfo/statemachineinfo.pro
deleted file mode 100644
index f8d5b5d..0000000
--- a/tests/auto/statemachineinfo/statemachineinfo.pro
+++ /dev/null
@@ -1,13 +0,0 @@
-QT = core gui qml testlib scxml-private
-CONFIG += testcase
-
-TARGET = tst_statemachineinfo
-CONFIG += console
-CONFIG -= app_bundle
-
-TEMPLATE = app
-
-RESOURCES += tst_statemachineinfo.qrc
-
-SOURCES += \
- tst_statemachineinfo.cpp
diff --git a/tests/manual/cppgen/CMakeLists.txt b/tests/manual/cppgen/CMakeLists.txt
index e2d0660..13654a1 100644
--- a/tests/manual/cppgen/CMakeLists.txt
+++ b/tests/manual/cppgen/CMakeLists.txt
@@ -1,4 +1,3 @@
-# Generated from cppgen.pro.
#####################################################################
## tst_cppgen Tool:
diff --git a/tests/manual/cppgen/cppgen.pro b/tests/manual/cppgen/cppgen.pro
deleted file mode 100644
index ea57732..0000000
--- a/tests/manual/cppgen/cppgen.pro
+++ /dev/null
@@ -1,18 +0,0 @@
-option(host_build)
-
-QT += testlib scxml
-CONFIG += testcase
-
-QT += core qml
-QT -= gui
-
-TARGET = tst_cppgen
-CONFIG += console c++11
-CONFIG -= app_bundle
-
-TEMPLATE = app
-
-SOURCES += \
- tst_cppgen.cpp
-
-load(qt_tool)
diff --git a/tests/manual/testCpp/CMakeLists.txt b/tests/manual/testCpp/CMakeLists.txt
index 68eeb34..bca94fe 100644
--- a/tests/manual/testCpp/CMakeLists.txt
+++ b/tests/manual/testCpp/CMakeLists.txt
@@ -1,4 +1,3 @@
-# Generated from testCpp.pro.
#####################################################################
## testCpp Tool:
diff --git a/tests/manual/testCpp/testCpp.pro b/tests/manual/testCpp/testCpp.pro
deleted file mode 100644
index 25c27b4..0000000
--- a/tests/manual/testCpp/testCpp.pro
+++ /dev/null
@@ -1,19 +0,0 @@
-option(host_build)
-
-QT += core qml scxml
-QT -= gui
-
-TARGET = testCpp
-CONFIG += console c++11
-CONFIG -= app_bundle
-
-TEMPLATE = app
-
-SOURCES += \
- testcpp.cpp
-
-OTHER_FILES += genTestSxcml.py out.scxml
-STATECHARTS = out.scxml
-
-load(qt_tool)
-load(qscxmlcpp)
diff --git a/tests/tests.pro b/tests/tests.pro
deleted file mode 100644
index d1b99ec..0000000
--- a/tests/tests.pro
+++ /dev/null
@@ -1,4 +0,0 @@
-TEMPLATE = subdirs
-CONFIG += no_docs_target
-
-SUBDIRS += auto