CMake: Regenerate tests projects
Change-Id: I559bf2c82d83fac9bd3c52a331d99e1e83bc3f87 Reviewed-by: Leander Beernaert <leander.beernaert@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
aa77fbca69
commit
8facb31fde
@ -11,7 +11,6 @@ add_qt_test(tst_qmetatype
|
||||
SOURCES
|
||||
tst_qmetatype.cpp
|
||||
DEFINES
|
||||
-QT_NO_LINKED_LIST
|
||||
QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
INCLUDE_DIRECTORIES
|
||||
../../../other/qvariant_common
|
||||
|
@ -11,7 +11,6 @@ add_qt_test(tst_qmetatype
|
||||
SOURCES
|
||||
tst_qmetatype.cpp
|
||||
DEFINES
|
||||
# -QT_NO_LINKED_LIST # special case remove until we fix this
|
||||
QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
INCLUDE_DIRECTORIES
|
||||
../../../other/qvariant_common
|
||||
|
@ -8,7 +8,6 @@ add_qt_test(tst_qvariant
|
||||
SOURCES
|
||||
tst_qvariant.cpp
|
||||
DEFINES
|
||||
-QT_NO_LINKED_LIST
|
||||
QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
INCLUDE_DIRECTORIES
|
||||
../../../other/qvariant_common
|
||||
@ -32,3 +31,8 @@ add_qt_resource(tst_qvariant "qvariant"
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
extend_target(tst_qvariant CONDITION NOT QT_FEATURE_doubleconversion AND NOT QT_FEATURE_system_doubleconversion
|
||||
DEFINES
|
||||
QT_NO_DOUBLECONVERSION
|
||||
)
|
||||
|
@ -8,7 +8,6 @@ add_qt_test(tst_qvariant
|
||||
SOURCES
|
||||
tst_qvariant.cpp
|
||||
DEFINES
|
||||
# -QT_NO_LINKED_LIST # special case remove until we fix this
|
||||
QT_DISABLE_DEPRECATED_BEFORE=0
|
||||
INCLUDE_DIRECTORIES
|
||||
../../../other/qvariant_common
|
||||
@ -32,3 +31,8 @@ add_qt_resource(tst_qvariant "qvariant"
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
extend_target(tst_qvariant CONDITION NOT QT_FEATURE_doubleconversion AND NOT QT_FEATURE_system_doubleconversion
|
||||
DEFINES
|
||||
QT_NO_DOUBLECONVERSION
|
||||
)
|
||||
|
@ -34,3 +34,8 @@ if(ANDROID)
|
||||
${json_resource_files}
|
||||
)
|
||||
endif()
|
||||
|
||||
extend_target(tst_json CONDITION NOT QT_FEATURE_doubleconversion AND NOT QT_FEATURE_system_doubleconversion
|
||||
DEFINES
|
||||
QT_NO_DOUBLECONVERSION
|
||||
)
|
||||
|
@ -10,8 +10,6 @@ list(APPEND test_data "datastream.q42")
|
||||
add_qt_test(tst_qdatastream
|
||||
SOURCES
|
||||
tst_qdatastream.cpp
|
||||
DEFINES
|
||||
-QT_NO_LINKED_LIST
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
TESTDATA ${test_data}
|
||||
|
@ -10,8 +10,6 @@ list(APPEND test_data "datastream.q42")
|
||||
add_qt_test(tst_qdatastream
|
||||
SOURCES
|
||||
tst_qdatastream.cpp
|
||||
DEFINES
|
||||
# -QT_NO_LINKED_LIST # special case remove
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
TESTDATA ${test_data}
|
||||
|
@ -4,7 +4,7 @@
|
||||
## tst_qfuture Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qfuture
|
||||
qt_add_test(tst_qfuture
|
||||
SOURCES
|
||||
tst_qfuture.cpp
|
||||
DEFINES
|
||||
|
18
tests/auto/gui/kernel/qclipboard/copier/.prev_CMakeLists.txt
Normal file
18
tests/auto/gui/kernel/qclipboard/copier/.prev_CMakeLists.txt
Normal file
@ -0,0 +1,18 @@
|
||||
# Generated from copier.pro.
|
||||
|
||||
#####################################################################
|
||||
## copier Binary:
|
||||
#####################################################################
|
||||
|
||||
add_qt_executable(copier
|
||||
SOURCES
|
||||
main.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
)
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
#### Keys ignored in scope 2:.:.:copier.pro:WIN32:
|
||||
# DESTDIR = "../copier"
|
18
tests/auto/gui/kernel/qclipboard/paster/.prev_CMakeLists.txt
Normal file
18
tests/auto/gui/kernel/qclipboard/paster/.prev_CMakeLists.txt
Normal file
@ -0,0 +1,18 @@
|
||||
# Generated from paster.pro.
|
||||
|
||||
#####################################################################
|
||||
## paster Binary:
|
||||
#####################################################################
|
||||
|
||||
add_qt_executable(paster
|
||||
SOURCES
|
||||
main.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
)
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
#### Keys ignored in scope 2:.:.:paster.pro:WIN32:
|
||||
# DESTDIR = "../paster"
|
@ -7,6 +7,8 @@
|
||||
# Collect test data
|
||||
list(APPEND test_data "data/thematicBreaks.md")
|
||||
list(APPEND test_data "data/headingBulletsContinuations.md")
|
||||
list(APPEND test_data "data/fuzz20450.md")
|
||||
list(APPEND test_data "data/fuzz20580.md")
|
||||
|
||||
add_qt_test(tst_qtextmarkdownimporter
|
||||
SOURCES
|
||||
|
@ -0,0 +1,59 @@
|
||||
# Generated from test.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qnetworkreply Test:
|
||||
#####################################################################
|
||||
|
||||
# Collect test data
|
||||
list(APPEND test_data "../empty")
|
||||
list(APPEND test_data "../rfc3252.txt")
|
||||
list(APPEND test_data "../resource")
|
||||
list(APPEND test_data "../bigfile")
|
||||
file(GLOB_RECURSE test_data_glob
|
||||
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
../*.jpg)
|
||||
list(APPEND test_data ${test_data_glob})
|
||||
list(APPEND test_data "../certs")
|
||||
list(APPEND test_data "../index.html")
|
||||
list(APPEND test_data "../smb-file.txt")
|
||||
|
||||
add_qt_test(tst_qnetworkreply
|
||||
SOURCES
|
||||
../../../../../shared/emulationdetector.h
|
||||
../tst_qnetworkreply.cpp
|
||||
INCLUDE_DIRECTORIES
|
||||
../../../../../shared
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::CorePrivate
|
||||
Qt::NetworkPrivate
|
||||
TESTDATA ${test_data}
|
||||
)
|
||||
|
||||
# Resources:
|
||||
set_source_files_properties("../resource"
|
||||
PROPERTIES QT_RESOURCE_ALIAS "resource"
|
||||
)
|
||||
set(qnetworkreply_resource_files
|
||||
"resource"
|
||||
)
|
||||
|
||||
add_qt_resource(tst_qnetworkreply "qnetworkreply"
|
||||
PREFIX
|
||||
"/"
|
||||
BASE
|
||||
".."
|
||||
FILES
|
||||
${qnetworkreply_resource_files}
|
||||
)
|
||||
|
||||
|
||||
#### Keys ignored in scope 1:.:.:test.pro:<TRUE>:
|
||||
# QT_FOR_CONFIG = "gui-private"
|
||||
# QT_TEST_SERVER_LIST = "vsftpd" "apache2" "ftp-proxy" "danted" "squid"
|
||||
# testcase.timeout = "600"
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
#### Keys ignored in scope 2:.:.:test.pro:NOT ANDROID AND NOT WINRT:
|
||||
# TEST_HELPER_INSTALLS = "../echo/echo"
|
@ -0,0 +1,26 @@
|
||||
# Generated from test.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qtcpserver Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qtcpserver
|
||||
SOURCES
|
||||
../tst_qtcpserver.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Network
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:.:test.pro:<TRUE>:
|
||||
# MOC_DIR = "tmp"
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
extend_target(tst_qtcpserver CONDITION WIN32
|
||||
PUBLIC_LIBRARIES
|
||||
ws2_32
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 6:.:.:test.pro:LINUX:
|
||||
# QT_TEST_SERVER_LIST = "danted" "cyrus" "squid" "ftp-proxy"
|
@ -0,0 +1,33 @@
|
||||
# Generated from test.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qudpsocket Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qudpsocket
|
||||
SOURCES
|
||||
../tst_qudpsocket.cpp
|
||||
INCLUDE_DIRECTORIES
|
||||
../../../../../shared
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Network
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:.:test.pro:<TRUE>:
|
||||
# MOC_DIR = "tmp"
|
||||
# testcase.timeout = "800"
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
#### Keys ignored in scope 3:.:.:test.pro:(CMAKE_BUILD_TYPE STREQUAL Debug):
|
||||
# DESTDIR = "../debug"
|
||||
|
||||
#### Keys ignored in scope 4:.:.:test.pro:else:
|
||||
# DESTDIR = "../release"
|
||||
|
||||
#### Keys ignored in scope 5:.:.:test.pro:else:
|
||||
# DESTDIR = "../"
|
||||
|
||||
#### Keys ignored in scope 6:.:.:test.pro:LINUX:
|
||||
# QT_TEST_SERVER_LIST = "danted" "echo"
|
@ -1,10 +1,10 @@
|
||||
# Generated from deleteLater.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_deleteLater Binary:
|
||||
## deleteLater Binary:
|
||||
#####################################################################
|
||||
|
||||
add_qt_executable(tst_deleteLater
|
||||
add_qt_executable(deleteLater
|
||||
SOURCES
|
||||
tst_deleteLater.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
|
@ -1,10 +1,10 @@
|
||||
# Generated from deleteLater.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_deleteLater Binary:
|
||||
## deleteLater Binary:
|
||||
#####################################################################
|
||||
|
||||
add_qt_executable(tst_deleteLater
|
||||
add_qt_executable(deleteLater
|
||||
NO_INSTALL # special case
|
||||
OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} # special case
|
||||
SOURCES
|
||||
|
@ -1,10 +1,10 @@
|
||||
# Generated from deleteLater_noApp.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_deleteLater_noApp Binary:
|
||||
## deleteLater_noApp Binary:
|
||||
#####################################################################
|
||||
|
||||
add_qt_executable(tst_deleteLater_noApp
|
||||
add_qt_executable(deleteLater_noApp
|
||||
SOURCES
|
||||
tst_deleteLater_noApp.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
|
@ -1,10 +1,10 @@
|
||||
# Generated from deleteLater_noApp.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_deleteLater_noApp Binary:
|
||||
## deleteLater_noApp Binary:
|
||||
#####################################################################
|
||||
|
||||
add_qt_executable(tst_deleteLater_noApp
|
||||
add_qt_executable(deleteLater_noApp
|
||||
NO_INSTALL # special case
|
||||
OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} # special case
|
||||
SOURCES
|
||||
|
@ -7,6 +7,8 @@
|
||||
add_qt_executable(verbose1
|
||||
SOURCES
|
||||
../counting/tst_counting.cpp
|
||||
DEFINES
|
||||
TESTLIB_VERBOSITY_ARG="-v1"
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Test
|
||||
)
|
||||
|
@ -9,6 +9,8 @@ add_qt_executable(verbose1
|
||||
OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} # special case
|
||||
SOURCES
|
||||
../counting/tst_counting.cpp
|
||||
DEFINES
|
||||
TESTLIB_VERBOSITY_ARG="-v1"
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Test
|
||||
)
|
||||
|
@ -7,6 +7,8 @@
|
||||
add_qt_executable(verbose2
|
||||
SOURCES
|
||||
../counting/tst_counting.cpp
|
||||
DEFINES
|
||||
TESTLIB_VERBOSITY_ARG="-v2"
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Test
|
||||
)
|
||||
|
@ -9,6 +9,8 @@ add_qt_executable(verbose2
|
||||
OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} # special case
|
||||
SOURCES
|
||||
../counting/tst_counting.cpp
|
||||
DEFINES
|
||||
TESTLIB_VERBOSITY_ARG="-v2"
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Test
|
||||
)
|
||||
|
@ -21,6 +21,7 @@ set(qwidget_resource_files
|
||||
"geometry-fullscreen.dat"
|
||||
"geometry-maximized.dat"
|
||||
"geometry.dat"
|
||||
"hellotr_la.qm"
|
||||
)
|
||||
|
||||
add_qt_resource(tst_qwidget "qwidget"
|
||||
|
@ -364,4 +364,5 @@ add_qt_resource(tst_GraphicsViewBenchmark "GraphicsViewBenchmark3"
|
||||
extend_target(tst_GraphicsViewBenchmark CONDITION TARGET Qt::OpenGL
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::OpenGL
|
||||
Qt::OpenGLWidgets
|
||||
)
|
||||
|
@ -54,4 +54,5 @@ extend_target(embeddedintoforeignwindow CONDITION QT_FEATURE_opengl
|
||||
../diaglib/glinfo.cpp ../diaglib/glinfo.h
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::OpenGL
|
||||
Qt::OpenGLWidgets
|
||||
)
|
||||
|
@ -19,6 +19,7 @@ add_qt_manual_test(foreignwindows
|
||||
Qt::CorePrivate
|
||||
Qt::Gui
|
||||
Qt::GuiPrivate
|
||||
Qt::OpenGL
|
||||
Qt::Widgets
|
||||
)
|
||||
|
||||
@ -54,4 +55,5 @@ extend_target(foreignwindows CONDITION QT_FEATURE_opengl
|
||||
../diaglib/glinfo.cpp ../diaglib/glinfo.h
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::OpenGL
|
||||
Qt::OpenGLWidgets
|
||||
)
|
||||
|
@ -17,6 +17,7 @@ add_qt_manual_test(lance
|
||||
Qt::CorePrivate
|
||||
Qt::Gui
|
||||
Qt::GuiPrivate
|
||||
Qt::OpenGLWidgets
|
||||
Qt::PrintSupport
|
||||
Qt::Widgets
|
||||
)
|
||||
@ -171,5 +172,4 @@ add_qt_resource(lance "images"
|
||||
extend_target(lance CONDITION TARGET Qt::OpenGL
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::OpenGL
|
||||
Qt::OpenGLWidgets
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user